From: wolffc Date: Mon, 13 Sep 2010 14:45:24 +0000 (+0000) Subject: Run code to update printer objects not only when a printer is added X-Git-Url: https://git.tokkee.org/?p=gosa.git;a=commitdiff_plain;h=7f316b898e1819a261fb3caf3b9eabd9d5bb0de7 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 --- 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",