passman/lib/Utility/NotFoundJSONResponse.php
Marcos Zuriaga d0fbc485d0
Improved pending request permissions update
PHP doc improvements and additions
Changes on the utility class
2016-10-05 18:24:22 +02:00

24 lines
485 B
PHP

<?php
/**
* Created by PhpStorm.
* User: wolfi
* Date: 5/10/16
* Time: 17:25
*/
namespace OCA\Passman\Utility;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\JSONResponse;
class NotFoundJSONResponse extends JSONResponse {
/**
* Creates a new json response with a not found status code.
* @param array $response_data
*/
public function __construct($response_data = []) {
parent::__construct($response_data, Http::STATUS_NOT_FOUND);
}
}