Skip to content

Commit 13a787e

Browse files
Merge pull request #7885 from nextcloud/ocp-user-app-code-check
Add OCP\User deprecations to app code checker
2 parents 61b0d65 + e13fe07 commit 13a787e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/private/App/CodeChecker/DeprecationCheck.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ protected function getLocalClasses() {
4444
'OCP\JSON' => '8.1.0',
4545
'OCP\Response' => '8.1.0',
4646
'OCP\AppFramework\IApi' => '8.0.0',
47+
'OCP\User' => '13.0.0',
4748
];
4849
}
4950

@@ -141,6 +142,9 @@ protected function getLocalMethods() {
141142
'OCP\User::userExists' => '8.1.0',
142143
'OCP\User::logout' => '8.1.0',
143144
'OCP\User::checkPassword' => '8.1.0',
145+
'OCP\User::isLoggedIn' => '13.0.0',
146+
'OCP\User::checkAdminUser' => '13.0.0',
147+
'OCP\User::checkLoggedIn' => '13.0.0',
144148

145149
'OCP\Util::encryptedFiles' => '8.1.0',
146150
'OCP\Util::formatDate' => '8.0.0',

0 commit comments

Comments
 (0)