summaryrefslogtreecommitdiffstats
path: root/lib/private/App/CodeChecker
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-16 13:32:37 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-16 13:32:37 +0100
commite13fe076d2f7c7b7d6ac1dd5dc7f908ee2d27d8e (patch)
tree5d6bb8ec6c32021a73be92015bc986b2d9985b7d /lib/private/App/CodeChecker
parent4ae04c3d6331a28e146e9cb2b961c7731fb1217d (diff)
downloadnextcloud-server-e13fe076d2f7c7b7d6ac1dd5dc7f908ee2d27d8e.tar.gz
nextcloud-server-e13fe076d2f7c7b7d6ac1dd5dc7f908ee2d27d8e.zip
Add OCP\User deprecations to app code checker
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/App/CodeChecker')
-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',