summaryrefslogtreecommitdiffstats
path: root/lib
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:33:58 +0100
commit0fafa794da08a03054f3455b610b544977951e57 (patch)
treef13b9731eb334bb6d1f70e35a69effd78d1cb47e /lib
parentc25da25180bd446c0068a0155a5a386ac05d2d51 (diff)
downloadnextcloud-server-0fafa794da08a03054f3455b610b544977951e57.tar.gz
nextcloud-server-0fafa794da08a03054f3455b610b544977951e57.zip
Add OCP\User deprecations to app code checker
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-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 037a2cee849..e948afe7c79 100644
--- a/lib/private/App/CodeChecker/DeprecationCheck.php
+++ b/lib/private/App/CodeChecker/DeprecationCheck.php
@@ -45,6 +45,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',
];
}
@@ -142,6 +143,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',