Code

Run code to update printer objects not only when a printer is added
[gosa.git] / trunk / gosa-plugins / goto / personal / environment / class_environment.inc
index 9db2031f739271aecabcddac05fc13a3a5384c8e..b809805b5067557383e7aba94f458f525d0d1d78 100644 (file)
@@ -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",