diff options
Diffstat (limited to 'lib/private/user.php')
-rw-r--r-- | lib/private/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index e6e3e8a7f20..b3677233825 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -216,7 +216,7 @@ class OC_User { * @return bool * * Deletes a user - * @deprecated Use \OC::$server->getUserManager->delete() + * @deprecated Use \OC::$server->getUserManager()->get() and then run delete() on the return */ public static function deleteUser($uid) { $user = self::getManager()->get($uid); |