summaryrefslogtreecommitdiffstats
path: root/lib/group.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-07-10 02:17:24 +0200
committerRobin Appelman <icewind@owncloud.com>2013-07-10 02:17:24 +0200
commit065bc96b02c6da881a08335f0b6b818350e9fcb8 (patch)
tree4c276f25e8c51bf6e3111d2516d95342e83e653c /lib/group.php
parentdb1477553680a8471f16f449f67d930d02b8cff5 (diff)
downloadnextcloud-server-065bc96b02c6da881a08335f0b6b818350e9fcb8.tar.gz
nextcloud-server-065bc96b02c6da881a08335f0b6b818350e9fcb8.zip
more consistent naming
Diffstat (limited to 'lib/group.php')
-rw-r--r--lib/group.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/group.php b/lib/group.php
index 4b57073a123..8fbf5f86418 100644
--- a/lib/group.php
+++ b/lib/group.php
@@ -84,7 +84,7 @@ class OC_Group {
public static function createGroup($gid) {
OC_Hook::emit("OC_Group", "pre_createGroup", array("run" => true, "gid" => $gid));
- if (self::getManager()->create($gid)) {
+ if (self::getManager()->createGroup($gid)) {
OC_Hook::emit("OC_User", "post_createGroup", array("gid" => $gid));
return true;
} else {
@@ -220,7 +220,7 @@ class OC_Group {
* @return bool
*/
public static function groupExists($gid) {
- return self::getManager()->exists($gid);
+ return self::getManager()->groupExists($gid);
}
/**