aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index eb49155adef..86eee54be70 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -644,7 +644,7 @@ class Server extends ServerContainer implements IServerContainer {
});
$this->registerService('ThemingDefaults', function(Server $c) {
try {
- $classExists = class_exists('OCA\Theming\Template');
+ $classExists = class_exists('OCA\Theming\ThemingDefaults');
} catch (\OCP\AutoloadNotAllowedException $e) {
// App disabled or in maintenance mode
$classExists = false;