aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-16 14:17:07 +0100
committerGitHub <noreply@github.com>2018-01-16 14:17:07 +0100
commit13a787e2f5d22e4cd8204f4524ea3e2c4eba4d32 (patch)
tree06df0c6abc75a5cf60949e8df961e6b940223837
parent61b0d65353ca77065f76cbfa70aeab1d1a9826ca (diff)
parente13fe076d2f7c7b7d6ac1dd5dc7f908ee2d27d8e (diff)
downloadnextcloud-server-13a787e2f5d22e4cd8204f4524ea3e2c4eba4d32.tar.gz
nextcloud-server-13a787e2f5d22e4cd8204f4524ea3e2c4eba4d32.zip
Merge pull request #7885 from nextcloud/ocp-user-app-code-check
Add OCP\User deprecations to app code checker
-rw-r--r--lib/private/App/CodeChecker/DeprecationCheck.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/App/CodeChecker/DeprecationCheck.php b/lib/private/App/CodeChecker/DeprecationCheck.php
index c8b8d639f46..95d0762e093 100644
--- a/lib/private/App/CodeChecker/DeprecationCheck.php
+++ b/lib/private/App/CodeChecker/DeprecationCheck.php
@@ -44,6 +44,7 @@ class DeprecationCheck extends AbstractCheck implements ICheck {
'OCP\JSON' => '8.1.0',
'OCP\Response' => '8.1.0',
'OCP\AppFramework\IApi' => '8.0.0',
+ 'OCP\User' => '13.0.0',
];
}
@@ -141,6 +142,9 @@ class DeprecationCheck extends AbstractCheck implements ICheck {
'OCP\User::userExists' => '8.1.0',
'OCP\User::logout' => '8.1.0',
'OCP\User::checkPassword' => '8.1.0',
+ 'OCP\User::isLoggedIn' => '13.0.0',
+ 'OCP\User::checkAdminUser' => '13.0.0',
+ 'OCP\User::checkLoggedIn' => '13.0.0',
'OCP\Util::encryptedFiles' => '8.1.0',
'OCP\Util::formatDate' => '8.0.0',