summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/OCSController.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-03-03 15:10:42 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-03-03 20:54:32 +0100
commitcc744740b790a72e2d5c6b07814dadb5b58014fb (patch)
tree3ce5db818feacccfecb81d98d7ecaa11b7e11336 /lib/public/AppFramework/OCSController.php
parent0829fea5e7f9a81a69599c5df7c75b997055e5ba (diff)
downloadnextcloud-server-cc744740b790a72e2d5c6b07814dadb5b58014fb.tar.gz
nextcloud-server-cc744740b790a72e2d5c6b07814dadb5b58014fb.zip
Remove deprecated \OCP\API
Time to remove this forgood now. Remaining constant moved over The world is a tiny bit better Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/AppFramework/OCSController.php')
-rw-r--r--lib/public/AppFramework/OCSController.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/AppFramework/OCSController.php b/lib/public/AppFramework/OCSController.php
index d18ab04fae8..422195f6b24 100644
--- a/lib/public/AppFramework/OCSController.php
+++ b/lib/public/AppFramework/OCSController.php
@@ -42,6 +42,10 @@ use OCP\IRequest;
* @since 8.1.0
*/
abstract class OCSController extends ApiController {
+ public const RESPOND_UNAUTHORISED = 997;
+ public const RESPOND_SERVER_ERROR = 996;
+ public const RESPOND_NOT_FOUND = 998;
+ public const RESPOND_UNKNOWN_ERROR = 999;
/** @var int */
private $ocsVersion;