diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-03 01:24:27 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-09 17:35:09 -0600 |
commit | a5ba1f78033b3ebe69c771fb33c1217a60494728 (patch) | |
tree | b4bdf0ec562db9e91071eeef39f82586ce48eef4 /lib/base.php | |
parent | 6fd0e7e93995facfe75b26699ea462bb94fd03b9 (diff) | |
download | nextcloud-server-a5ba1f78033b3ebe69c771fb33c1217a60494728.tar.gz nextcloud-server-a5ba1f78033b3ebe69c771fb33c1217a60494728.zip |
Remove legacy class OC_Group and OC_User
* basically a straight replacement of the wrapped code at the calling code parts
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
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( |