summaryrefslogtreecommitdiffstats
path: root/apps/user_webdavauth
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-12 17:25:03 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-19 10:17:17 +0100
commit6da33e1ea7bb340e22330941d2a980a1414210b0 (patch)
tree3717d08e21cb02a149ae109f4efeecb83ba582c1 /apps/user_webdavauth
parent5c6e08213e6ed52517f9f729ae91a2973f09c182 (diff)
downloadnextcloud-server-6da33e1ea7bb340e22330941d2a980a1414210b0.tar.gz
nextcloud-server-6da33e1ea7bb340e22330941d2a980a1414210b0.zip
introduce names for user backends - IUserBackend
* LDAP with multiple servers also proved backendName
Diffstat (limited to 'apps/user_webdavauth')
-rw-r--r--apps/user_webdavauth/user_webdavauth.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php
index 86e5b916f3d..1154a7865be 100644
--- a/apps/user_webdavauth/user_webdavauth.php
+++ b/apps/user_webdavauth/user_webdavauth.php
@@ -21,7 +21,7 @@
*
*/
-class OC_USER_WEBDAVAUTH extends OC_User_Backend {
+class OC_USER_WEBDAVAUTH extends OC_User_Backend implements \OCP\IUserBackend {
protected $webdavauth_url;
public function __construct() {
@@ -86,4 +86,12 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend {
return $returnArray;
}
+
+ /**
+ * Backend name to be shown in user management
+ * @return string the name of the backend to be shown
+ */
+ public function getBackendName(){
+ return 'WebDAV';
+ }
}