diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-13 12:59:30 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-13 12:59:30 -0800 |
commit | e1e77fe3be90563e6389a6a3d1fac7b6028d0bd0 (patch) | |
tree | 90df67718f91a99ec13c30cf583fd5f438bb749c /apps | |
parent | 6d7e324f4b97b86199c1e3097a0f9494945f3cb9 (diff) | |
parent | 9d6f74c65eb51b88e6d93c85a725fbaac2ed8e4a (diff) | |
download | nextcloud-server-e1e77fe3be90563e6389a6a3d1fac7b6028d0bd0.tar.gz nextcloud-server-e1e77fe3be90563e6389a6a3d1fac7b6028d0bd0.zip |
Merge pull request #1598 from owncloud/fixing-1424-master
Fixing 1424 master
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/user_ldap.php | 6 | ||||
-rw-r--r-- | apps/user_ldap/user_proxy.php | 8 | ||||
-rwxr-xr-x | apps/user_webdavauth/user_webdavauth.php | 12 |
3 files changed, 20 insertions, 6 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index 0962756228c..7778c37c794 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -261,4 +261,10 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface { return (bool)((OC_USER_BACKEND_CHECK_PASSWORD | OC_USER_BACKEND_GET_HOME) & $actions); } + /** + * @return bool + */ + public function hasUserListings() { + return true; + } }
\ No newline at end of file diff --git a/apps/user_ldap/user_proxy.php b/apps/user_ldap/user_proxy.php index a94be3354fc..6a75bae3815 100644 --- a/apps/user_ldap/user_proxy.php +++ b/apps/user_ldap/user_proxy.php @@ -183,4 +183,12 @@ class User_Proxy extends lib\Proxy implements \OCP\UserInterface { public function deleteUser($uid) { return false; } + + /** + * @return bool + */ + public function hasUserListings() { + return $this->refBackend->hasUserListings(); + } + }
\ No newline at end of file diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php index 1459781a3b4..6417e45434d 100755 --- a/apps/user_webdavauth/user_webdavauth.php +++ b/apps/user_webdavauth/user_webdavauth.php @@ -28,12 +28,6 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { $this->webdavauth_url = OC_Config::getValue( "user_webdavauth_url" ); } - public function createUser() { - // Can't create user - OC_Log::write('OC_USER_WEBDAVAUTH', 'Not possible to create users from web frontend using WebDAV user backend', 3); - return false; - } - public function deleteUser($uid) { // Can't delete user OC_Log::write('OC_USER_WEBDAVAUTH', 'Not possible to delete users from web frontend using WebDAV user backend', 3); @@ -71,6 +65,12 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { return true; } + /** + * @return bool + */ + public function hasUserListings() { + return false; + } /* * we don´t know the users so all we can do it return an empty array here |