summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-15 08:46:31 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-15 09:17:30 +0200
commit2c988ecbf498bebd8ac904e0c457521350cf469f (patch)
tree9a5be8451b1c763c5009b89f52993372cacaf735 /apps
parente8d6621a2485196c66d0743df3072da3b9e9c36b (diff)
downloadnextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.tar.gz
nextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.zip
Use the themed Defaults everywhere
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Connector/PublicAuth.php2
-rw-r--r--apps/dav/lib/Connector/Sabre/Auth.php2
-rw-r--r--apps/federation/lib/DAV/FedAuth.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/Connector/PublicAuth.php b/apps/dav/lib/Connector/PublicAuth.php
index 4e63ca1d29e..9b386c7609d 100644
--- a/apps/dav/lib/Connector/PublicAuth.php
+++ b/apps/dav/lib/Connector/PublicAuth.php
@@ -65,7 +65,7 @@ class PublicAuth extends AbstractBasic {
$this->session = $session;
// setup realm
- $defaults = new \OC_Defaults();
+ $defaults = new \OCP\Defaults();
$this->realm = $defaults->getName();
}
diff --git a/apps/dav/lib/Connector/Sabre/Auth.php b/apps/dav/lib/Connector/Sabre/Auth.php
index 82c2711b560..28e4ae2bcde 100644
--- a/apps/dav/lib/Connector/Sabre/Auth.php
+++ b/apps/dav/lib/Connector/Sabre/Auth.php
@@ -78,7 +78,7 @@ class Auth extends AbstractBasic {
$this->principalPrefix = $principalPrefix;
// setup realm
- $defaults = new \OC_Defaults();
+ $defaults = new \OCP\Defaults();
$this->realm = $defaults->getName();
}
diff --git a/apps/federation/lib/DAV/FedAuth.php b/apps/federation/lib/DAV/FedAuth.php
index 21c0d61487c..ff83932283c 100644
--- a/apps/federation/lib/DAV/FedAuth.php
+++ b/apps/federation/lib/DAV/FedAuth.php
@@ -38,7 +38,7 @@ class FedAuth extends AbstractBasic {
$this->principalPrefix = 'principals/system/';
// setup realm
- $defaults = new \OC_Defaults();
+ $defaults = new \OCP\Defaults();
$this->realm = $defaults->getName();
}