diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-07-19 16:59:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-19 16:59:24 +0200 |
commit | 8735a05d938da74eae29ab289646c48678a0fed7 (patch) | |
tree | 92ae83199d60c829a52b3ee8350ae460b3943f7f /lib | |
parent | 47c80ae1cfaf90c90755d5b5a7d7ada0700b3402 (diff) | |
parent | 80168613bed240fc507c7d1cae311aa442d734dc (diff) | |
download | nextcloud-server-8735a05d938da74eae29ab289646c48678a0fed7.tar.gz nextcloud-server-8735a05d938da74eae29ab289646c48678a0fed7.zip |
Merge pull request #441 from nextcloud/fix-maintenance-mode
Fix maintenance mode
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index d69e384ad75..eb2c26415bc 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -620,7 +620,7 @@ class Server extends ServerContainer implements IServerContainer { return $factory->getManager(); }); $this->registerService('ThemingDefaults', function(Server $c) { - if($this->getConfig()->getSystemValue('installed', false) && $this->getAppManager()->isInstalled('theming')) { + if(class_exists('OCA\Theming\Template', false) && $this->getConfig()->getSystemValue('installed', false) && $this->getAppManager()->isInstalled('theming')) { return new Template( $this->getConfig(), $this->getL10N('theming'), |