From 7f316b898e1819a261fb3caf3b9eabd9d5bb0de7 Mon Sep 17 00:00:00 2001 From: wolffc Date: Mon, 13 Sep 2010 14:45:24 +0000 Subject: [PATCH] Run code to update printer objects not only when a printer is added or removed, but also in case the group name changes git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19648 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/personal/environment/class_environment.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gosa-plugins/goto/personal/environment/class_environment.inc b/trunk/gosa-plugins/goto/personal/environment/class_environment.inc index 9db2031f7..b809805b5 100644 --- a/trunk/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/trunk/gosa-plugins/goto/personal/environment/class_environment.inc @@ -1208,7 +1208,7 @@ class environment extends plugin $this->detect_grouptype(); - if($this->add_del_printer_member_was_called){ + if($this->add_del_printer_member_was_called || $this->OrigCn != $this->cn){ $types = array( "gotoUserPrinter" => "AddUser", "gotoGroupPrinter" => "AddGroup", -- 2.30.2