summaryrefslogtreecommitdiffstats
path: root/lib/group.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-17 00:28:44 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-17 00:28:44 +0200
commit25d687f35a3e86e61935d9a68497a9d5c3b94274 (patch)
tree75ce501b8ffa03cd9a10797a4bf5954622390c8d /lib/group.php
parent9947428d793937b8a168a1153c3c6e16b07f0baa (diff)
downloadnextcloud-server-25d687f35a3e86e61935d9a68497a9d5c3b94274.tar.gz
nextcloud-server-25d687f35a3e86e61935d9a68497a9d5c3b94274.zip
add OC_GROUP::createGroup();
Diffstat (limited to 'lib/group.php')
-rw-r--r--lib/group.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/group.php b/lib/group.php
index 18e34c72773..6ea8681c631 100644
--- a/lib/group.php
+++ b/lib/group.php
@@ -124,4 +124,13 @@ class OC_GROUP {
public static function getGroups() {
return self::$_backend->getGroups();
}
+
+ /**
+ * create a new group
+ *
+ * @param string $name Name of the group
+ */
+ public static function createGroup($name) {
+ return self::$_backend->createGroup($name);
+ }
}