From 0fafa794da08a03054f3455b610b544977951e57 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 16 Jan 2018 13:32:37 +0100 Subject: [PATCH] Add OCP\User deprecations to app code checker Signed-off-by: Morris Jobke --- lib/private/App/CodeChecker/DeprecationCheck.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/private/App/CodeChecker/DeprecationCheck.php b/lib/private/App/CodeChecker/DeprecationCheck.php index 037a2cee84..e948afe7c7 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',