mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-12 02:52:35 +08:00
24 lines
485 B
PHP
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);
|
||
|
}
|
||
|
}
|