diff options
author | Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it> | 2012-12-06 18:09:47 +0100 |
---|---|---|
committer | Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it> | 2012-12-07 17:19:26 +0100 |
commit | 15afbfd198f9f54cee8717776b4f45f73d9b1cbf (patch) | |
tree | b3a6478a0c7914a38661e5f24aa5c81e856729d0 /lib/public/user.php | |
parent | 588bbd2c9f36761a8bf6f0b736d3042940c6fa18 (diff) | |
download | nextcloud-server-15afbfd198f9f54cee8717776b4f45f73d9b1cbf.tar.gz nextcloud-server-15afbfd198f9f54cee8717776b4f45f73d9b1cbf.zip |
Add an $excludingBackend optional parameter
to the userExists method both in OCP\User and in OC_User.
Diffstat (limited to 'lib/public/user.php')
-rw-r--r-- | lib/public/user.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/user.php b/lib/public/user.php index b320ce8ea0c..9e50115ab70 100644 --- a/lib/public/user.php +++ b/lib/public/user.php @@ -65,12 +65,12 @@ class User { /** * @brief check if a user exists * @param string $uid the username + * @param string $excludingBackend (default none) * @return boolean */ - public static function userExists( $uid ) { - return \OC_USER::userExists( $uid ); + public static function userExists( $uid, $excludingBackend = null ) { + return \OC_USER::userExists( $uid, $excludingBackend ); } - /** * @brief Loggs the user out including all the session data * @returns true |