summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ae3f76a)
raw | patch | inline | side by side (parent: ae3f76a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Apr 2008 12:27:38 +0000 (12:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Apr 2008 12:27:38 +0000 (12:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10692 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/repository/class_servRepository.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/class_serverService.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/goto/admin/systems/services/repository/class_servRepository.inc
index f7817858bbe40a280c32467e0bef0431f79c4aa3..4f2a6adb22364fe67fba2a420748a6f525dd9be4 100644 (file)
function servrepository (&$config, $dn= NULL, $parent= NULL)
{
- plugin::plugin ($config, $dn,$parent->parent);
+ plugin::plugin ($config, $dn,$parent);
$this->DisplayName = _("Repository service");
diff --git a/gosa-plugins/systems/admin/systems/class_serverService.inc b/gosa-plugins/systems/admin/systems/class_serverService.inc
index 6508592770ddacdbd4491a595776e2641f61405d..80f521c90e0f4c53a738e04bba75449b242e9687 100644 (file)
plugin::plugin($config);
$this->parent = $parent;
$this->dn= $dn;
+
+ /* Adapt parent attributes */
+ if(isset($this->parent->attrs)){
+ $this->attrs = $this->parent->attrs;
+ }
+
foreach ($config->data['TABS']['SERVERSERVICE'] as $plug){
if(class_available($plug['CLASS'])){
if($s_action == "RemoveSingleService"){
/* Create resetted obj */
- $new_obj = new $s_entry($this->config,$this->dn);
+ $new_obj = new $s_entry($this->config,$this->dn,&$this);
$new_obj -> set_acl_base($this->acl_base);
$new_obj -> set_acl_category(preg_replace("/\/$/","",$this->acl_category));
$tmp = $new_obj->getListEntry();