summaryrefslogtreecommitdiffstats
path: root/lib/private/App
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-07-22 16:04:01 +0200
committerGitHub <noreply@github.com>2019-07-22 16:04:01 +0200
commit3a6d8174a92734a3cc4be476163f4a98ca4d3f81 (patch)
tree438e0a9c1f11d9b564ec55c02723e2acd8d52576 /lib/private/App
parent9563c78674b76d177cdbddafb1a8cf1394f59d9f (diff)
parent54bcd86db7d35acbec2fc4a6f87cfdbceb59e539 (diff)
downloadnextcloud-server-3a6d8174a92734a3cc4be476163f4a98ca4d3f81.tar.gz
nextcloud-server-3a6d8174a92734a3cc4be476163f4a98ca4d3f81.zip
Merge pull request #16450 from nextcloud/tech-debt/noid/cleanup-unused-OC_API-methods
Removes unused OC_API::register
Diffstat (limited to 'lib/private/App')
-rw-r--r--lib/private/App/CodeChecker/DeprecationCheck.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/private/App/CodeChecker/DeprecationCheck.php b/lib/private/App/CodeChecker/DeprecationCheck.php
index 518ab1ec380..e672038f347 100644
--- a/lib/private/App/CodeChecker/DeprecationCheck.php
+++ b/lib/private/App/CodeChecker/DeprecationCheck.php
@@ -38,6 +38,7 @@ class DeprecationCheck extends AbstractCheck {
return [
'OC_JSON' => '8.2.0',
+ 'OCP\API' => '9.1.0',
'OCP\Contacts' => '8.1.0',
'OCP\DB' => '8.1.0',
'OCP\JSON' => '8.1.0',
@@ -55,6 +56,15 @@ class DeprecationCheck extends AbstractCheck {
*/
protected function getLocalConstants() {
return [
+ 'OCP\API::GUEST_AUTH' => '9.1.0',
+ 'OCP\API::USER_AUTH' => '9.1.0',
+ 'OCP\API::SUBADMIN_AUTH' => '9.1.0',
+ 'OCP\API::ADMIN_AUTH' => '9.1.0',
+ 'OCP\API::RESPOND_UNAUTHORISED' => '9.1.0',
+ 'OCP\API::RESPOND_SERVER_ERROR' => '9.1.0',
+ 'OCP\API::RESPOND_NOT_FOUND' => '9.1.0',
+ 'OCP\API::RESPOND_UNKNOWN_ERROR' => '9.1.0',
+
'OC_API::GUEST_AUTH' => '8.2.0',
'OC_API::USER_AUTH' => '8.2.0',
'OC_API::SUBADMIN_AUTH' => '8.2.0',