summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index e9e9af8c553..68178b06c5b 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -698,7 +698,7 @@ class OC {
}
OC_User::useBackend(new \OC\User\Database());
- OC_Group::useBackend(new \OC\Group\Database());
+ \OC::$server->getGroupManager()->addBackend(new \OC\Group\Database());
// Subscribe to the hook
\OCP\Util::connectHook(