diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Server.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index b651285e9a5..dd16b3173a6 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -656,12 +656,13 @@ class Server extends ServerContainer implements IServerContainer { $classExists = false; } - if ($classExists && $this->getConfig()->getSystemValue('installed', false) && $this->getAppManager()->isInstalled('theming')) { + if ($classExists && $c->getConfig()->getSystemValue('installed', false) && $c->getAppManager()->isInstalled('theming')) { return new ThemingDefaults( - $this->getConfig(), - $this->getL10N('theming'), - $this->getURLGenerator(), - new \OC_Defaults() + $c->getConfig(), + $c->getL10N('theming'), + $c->getURLGenerator(), + new \OC_Defaults(), + $c->getLazyRootFolder() ); } return new \OC_Defaults(); |