Merge pull request #7886 from nextcloud/13-7885

[stable13] Add OCP\User deprecations to app code checker
This commit is contained in:
Joas Schilling 2018-01-16 14:17:36 +01:00 committed by GitHub
commit c32a13fb5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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',