diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-20 21:08:23 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-08 10:52:30 +0100 |
commit | cca2ade199f09c2e4c2c00c86e776dcc3b51d60f (patch) | |
tree | 048d4f64d0de92a12565d1a8111fc1817f7db8cc /apps/dav/lib/connector/sabre/auth.php | |
parent | 9eef38c5937cf8c8a848a0b78afe8123fb922712 (diff) | |
download | nextcloud-server-cca2ade199f09c2e4c2c00c86e776dcc3b51d60f.tar.gz nextcloud-server-cca2ade199f09c2e4c2c00c86e776dcc3b51d60f.zip |
Adding pre oc 9.0 CardDAV endpoint for migration of old clients
Diffstat (limited to 'apps/dav/lib/connector/sabre/auth.php')
-rw-r--r-- | apps/dav/lib/connector/sabre/auth.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/dav/lib/connector/sabre/auth.php b/apps/dav/lib/connector/sabre/auth.php index cc679e44dbe..a046e078482 100644 --- a/apps/dav/lib/connector/sabre/auth.php +++ b/apps/dav/lib/connector/sabre/auth.php @@ -49,12 +49,14 @@ class Auth extends AbstractBasic { /** * @param ISession $session * @param IUserSession $userSession + * @param string $principalPrefix */ public function __construct(ISession $session, - IUserSession $userSession) { + IUserSession $userSession, + $principalPrefix = 'principals/users/') { $this->session = $session; $this->userSession = $userSession; - $this->principalPrefix = 'principals/users/'; + $this->principalPrefix = $principalPrefix; } /** |