summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a28d36)
raw | patch | inline | side by side (parent: 7a28d36)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Apr 2010 08:54:36 +0000 (08:54 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Apr 2010 08:54:36 +0000 (08:54 +0000) |
Do not check if gosaApplicationFlags changed as it appears
to be not neccessary and causes bugs
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17925 594d385d-05f5-0310-b6e9-bd551577e9d8
to be not neccessary and causes bugs
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17925 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/trunk/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
index 5e757ef35807573b0310ab9769c95db8656ee058..d127f38b59d1f1aa2c13fc85d5bb1c1fd3f3b070 100644 (file)
$attrs['gosaApplicationParameter'] = array();
if (isset($entry['FLAGS'])) {
- /* Check if the flags changed at all */
- $diff = FALSE;
- foreach($this->apps as $id => $app) {
- if($app['cn'][0] == $entry['NAME']){
- $orig_flags = $app['gosaApplicationFlags'][0];
- foreach($this->app_flags as $name => $flag) {
- if((strstr($orig_flags, $flag) && !strstr($entry['FLAGS'],$flag)) || !strstr($orig_flags, $flag) && strstr($entry['FLAGS'], $flag)) {
- $diff = TRUE;
- break;
- }
- }
- }
- }
- /* Only store appflags into LDAP if its different from the original app */
- if ($diff) {
- $attrs['gosaApplicationParameter'][] = "gosaApplicationFlags:".$entry['FLAGS'];
- }
+ $attrs['gosaApplicationParameter'][] = "gosaApplicationFlags:".$entry['FLAGS'];
}
foreach($entry['PARAMETER'] as $name => $value){