summaryrefslogtreecommitdiffstats
path: root/lib/group.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-15 18:13:49 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-15 18:13:49 +0200
commit3c01e307484a2738ed0314b7acf829cb7c9d8cdb (patch)
tree4bec2b3037e4c1f3732f302f4c8a6235a5da83f5 /lib/group.php
parent149793f2e7c701434698a1e6f8af251fe786d320 (diff)
downloadnextcloud-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.php16
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