diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-07-19 17:32:31 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-07-19 17:32:31 +0200 |
commit | cbe1c22b5f027d010c1b6bb5d27d79526261f76a (patch) | |
tree | 31d93721fd574ed9c02cd80aec2710c166038073 /lib/public | |
parent | a22940d3cd461a4d8f48b9bbd6eecbb380837d21 (diff) | |
download | nextcloud-server-cbe1c22b5f027d010c1b6bb5d27d79526261f76a.tar.gz nextcloud-server-cbe1c22b5f027d010c1b6bb5d27d79526261f76a.zip |
Correct casing of OC_User and pass through the params to getUsers
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/user.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/public/user.php b/lib/public/user.php index 9edebe0e7cf..23ff991642d 100644 --- a/lib/public/user.php +++ b/lib/public/user.php @@ -40,7 +40,7 @@ class User { * @return string uid or false */ public static function getUser() { - return \OC_USER::getUser(); + return \OC_User::getUser(); } /** @@ -50,7 +50,7 @@ class User { * Get a list of all users. */ public static function getUsers($search = '', $limit = null, $offset = null) { - return \OC_USER::getUsers(); + return \OC_User::getUsers($search, $limit, $offset); } /** @@ -58,7 +58,7 @@ class User { * @return string display name */ public static function getDisplayName($user=null) { - return \OC_USER::getDisplayName($user); + return \OC_User::getDisplayName($user); } /** @@ -68,7 +68,7 @@ class User { * Get a list of all display names and user ids. */ public static function getDisplayNames($search = '', $limit = null, $offset = null) { - return \OC_USER::getDisplayNames($search, $limit, $offset); + return \OC_User::getDisplayNames($search, $limit, $offset); } /** @@ -78,7 +78,7 @@ class User { * Checks if the user is logged in */ public static function isLoggedIn() { - return \OC_USER::isLoggedIn(); + return \OC_User::isLoggedIn(); } /** @@ -88,14 +88,14 @@ class User { * @return boolean */ public static function userExists( $uid, $excludingBackend = null ) { - return \OC_USER::userExists( $uid, $excludingBackend ); + return \OC_User::userExists( $uid, $excludingBackend ); } /** * @brief Loggs the user out including all the session data * Logout, destroys session */ public static function logout() { - \OC_USER::logout(); + \OC_User::logout(); } /** @@ -107,7 +107,7 @@ class User { * Check if the password is correct without logging in the user */ public static function checkPassword( $uid, $password ) { - return \OC_USER::checkPassword( $uid, $password ); + return \OC_User::checkPassword( $uid, $password ); } /** |