aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/modules/session/createGroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/include/modules/session/createGroup.php')
-rw-r--r--mayor-orig/www/include/modules/session/createGroup.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/mayor-orig/www/include/modules/session/createGroup.php b/mayor-orig/www/include/modules/session/createGroup.php
new file mode 100644
index 00000000..69b2bb45
--- /dev/null
+++ b/mayor-orig/www/include/modules/session/createGroup.php
@@ -0,0 +1,16 @@
+<?php
+/*
+ Modules: base/session
+*/
+
+ function createGroup($groupCn, $groupDesc, $toPolicy = _POLICY, $SET = array('category' => null, 'container' => null, 'policyAttrs' => array())) {
+
+ global $AUTH;
+
+ require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/createGroup.php');
+ $func = $AUTH[$toPolicy]['backend'].'CreateGroup';
+ return $func($groupCn, $groupDesc, $toPolicy, $SET);
+
+ }
+
+?>