diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-04-15 18:13:49 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-04-15 18:13:49 +0200 |
commit | 3c01e307484a2738ed0314b7acf829cb7c9d8cdb (patch) | |
tree | 4bec2b3037e4c1f3732f302f4c8a6235a5da83f5 /lib/group.php | |
parent | 149793f2e7c701434698a1e6f8af251fe786d320 (diff) | |
download | nextcloud-server-3c01e307484a2738ed0314b7acf829cb7c9d8cdb.tar.gz nextcloud-server-3c01e307484a2738ed0314b7acf829cb7c9d8cdb.zip |
Try to make owncloud working again
Diffstat (limited to 'lib/group.php')
-rw-r--r-- | lib/group.php | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/group.php b/lib/group.php index 0701627e4ee..06c91bc2436 100644 --- a/lib/group.php +++ b/lib/group.php @@ -68,27 +68,17 @@ class OC_GROUP { case 'database': case 'mysql': case 'sqlite': - oc_require_once('User/database.php'); - self::$_backend = new OC_USER_DATABASE(); + oc_require_once('Group/database.php'); + self::$_backend = new OC_GROUP_DATABASE(); break; default: - $className = 'OC_USER_' . strToUpper($backend); + $className = 'OC_GROUP_' . strToUpper($backend); self::$_backend = new $className(); break; } } /** - * Get the name of a group - * - * @param string $groupId ID of the group - * @param boolean $noCache If false the cache is used to find the name of the group - */ - public static function getGroupName($groupId, $noCache=false) { - return self::$_backend->getGroupName($groupId, $noCache); - } - - /** * Check if a user belongs to a group * * @param string $username Name of the user to check |