]> source.dussan.org Git - nextcloud-server.git/commitdiff
add OC_GROUP::createGroup();
authorRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 22:28:44 +0000 (00:28 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 22:28:44 +0000 (00:28 +0200)
lib/group.php

index 18e34c727739cd8590cc2d7283231f63875e24da..6ea8681c631ec3292f161ff34a993342fb255fbd 100644 (file)
@@ -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);
+       }
 }