aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Defaults.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Defaults.php')
-rw-r--r--lib/public/Defaults.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Defaults.php b/lib/public/Defaults.php
index a295db120ad..63568b27294 100644
--- a/lib/public/Defaults.php
+++ b/lib/public/Defaults.php
@@ -52,7 +52,7 @@ class Defaults {
*/
public function __construct(\OC_Defaults $defaults = null) {
if ($defaults === null) {
- $defaults = \OC::$server->getThemingDefaults();
+ $defaults = \OC::$server->get('ThemingDefaults');
}
$this->defaults = $defaults;
}