summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9cebae9)
raw | patch | inline | side by side (parent: 9cebae9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Dec 2006 06:37:57 +0000 (06:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Dec 2006 06:37:57 +0000 (06:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5346 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index fa068e7906351a3059c09d4fbdb991d572ec2a8b..b72146e2281eee96385d9f51fd28d9ac6614cc2d 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
if (!isset($this->current['GROUPS'])){
$this->current['GROUPS']= "ou=groups";
}
+
+ /* Remove possibly added ',' from end of group and people ou */
+ $this->current['GROUPS'] = preg_replace("/,*$/","",$this->current['GROUPS']);
+ $this->current['PEOPLE'] = preg_replace("/,*$/","",$this->current['PEOPLE']);
+
if (!isset($this->current['WINSTATIONS'])){
$this->current['WINSTATIONS']= "ou=winstations,ou=systems";
}