Add permission service
This commit is contained in:
@@ -24,9 +24,13 @@
|
||||
namespace OCA\Deck;
|
||||
|
||||
|
||||
class NotFoundException extends \Exception {
|
||||
class NotFoundException extends StatusException {
|
||||
|
||||
public function __construct($message="") {
|
||||
parent::__construct($message);
|
||||
}
|
||||
|
||||
public function getStatus() {
|
||||
return 404;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user