diff options
Diffstat (limited to 'mayor-orig/www/include/modules/session/groupInfo.php')
-rw-r--r-- | mayor-orig/www/include/modules/session/groupInfo.php | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mayor-orig/www/include/modules/session/groupInfo.php b/mayor-orig/www/include/modules/session/groupInfo.php new file mode 100644 index 00000000..fd46afee --- /dev/null +++ b/mayor-orig/www/include/modules/session/groupInfo.php @@ -0,0 +1,38 @@ +<?php +/* + Modules: base/session + + function getGroupInfo($groupCn, $toPolicy = '') { + function changeGroupInfo($userAccount, $toPolicy = '') { +*/ + +###################################################### +# getGroupInfo - csoport információk (backend) +###################################################### + + function getGroupInfo($groupCn, $toPolicy = _POLICY, $SET = array('withNewAccounts' => true)) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php'); + $func = $AUTH[$toPolicy]['backend'].'GetGroupInfo'; + return $func($groupCn, $toPolicy, $SET); + + + } + +########################################################### +# changeGroupInfo - csoport információk módosítása +########################################################### + + function changeGroupInfo($groupCn, $toPolicy = _POLICY) { + + global $AUTH; + + require_once('include/backend/'.$AUTH[$toPolicy]['backend'].'/session/accountInfo.php'); + $func = $AUTH[$toPolicy]['backend'].'ChangeGroupInfo'; + return $func($groupCn, $toPolicy); + + + } +?> |