summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5db22e9)
raw | patch | inline | side by side (parent: 5db22e9)
| author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Fri, 8 Feb 2008 10:57:47 +0000 (10:57 +0000) | ||
| committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Fri, 8 Feb 2008 10:57:47 +0000 (10:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8777 594d385d-05f5-0310-b6e9-bd551577e9d8
| gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc
index 35e7c25c45267564c857f418d389e767c44109d8..5d4b6dafd14b737330605439b6d037059c783d18 100644 (file)
$ret = array();
$release_info = $this->Releases[$this->FAIrelease];
- if(!isset($this->_cache['ReleaseApps'][$release_info['suffix']])){
+ if(1 | !isset($this->_cache['ReleaseApps'][$release_info['suffix']])){
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->curbase);
$all = $this->_get_all_entries();
if(isset($all[$folder_id])){
- $folder = $all[$folder_id];
+ $folder = &$all[$folder_id];
$entries = $entry['ENTRIES'];
$entry['UNIQID'] = uniqid();
$added = TRUE;
$cnt ++;
}
- $obj['ENTRIES'] = array();
$new[] = $obj;
}
if(!$added){
}
if($type == "up"){
$cnt --;
- }
- $this->_add_entry($o_to_sub['UNIQID'],$o_from,$cnt);
+
+ }
+ $this->_add_entry($o_to_sub['UNIQID'],$o_from,$cnt);
/* Removing old */
$tmp = array();
- foreach($o_to['ENTRIES'] as $key => $entry){
- if($entry['UNIQID'] == $from){
- if(!$this->_remove_entry_id($from)){
- return(FALSE);
- }
- }
+ if(!$this->_remove_entry_id($from)){
+ return(FALSE);
}
-
- $o_from['UNIQID'] = uniqid();
}
}else{
* + Destination
************************/
- echo "Hier";
-
/* Removing old */
$o_to = $all[$to];
$o_from = $all[$from];