From 0474a2c0ec69cec69ce00c76604eb33e45e02c6e Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 31 Jul 2006 06:34:01 +0000 Subject: [PATCH] Fixed tagging for printer objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4347 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 3 +++ plugins/admin/systems/tabs_workstation.inc | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 30a164126..592a1a1b5 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -758,6 +758,9 @@ class printgeneric extends plugin /* Optionally execute a command after we're done */ $this->postcreate(); + + /* This is a multi object. Handle tagging here... */ + $this->handle_object_tagging(); } function generateList(){ diff --git a/plugins/admin/systems/tabs_workstation.inc b/plugins/admin/systems/tabs_workstation.inc index b50e2fc76..b9045c164 100644 --- a/plugins/admin/systems/tabs_workstation.inc +++ b/plugins/admin/systems/tabs_workstation.inc @@ -53,9 +53,6 @@ class worktabs extends tabs if(($this->by_object['printgeneric']->is_account==false)&&($this->by_object['printgeneric']->initially_was_account==true)){ $this->by_object['printgeneric']->remove_from_parent(); } - if($this->by_object['printgeneric']->is_account){ - $this->by_object['printgeneric']->handle_object_tagging(); - } /* Fix tagging if needed */ $baseobject->handle_object_tagging(); -- 2.30.2