Code

Updated activation of new systems
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Nov 2009 08:58:05 +0000 (08:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Nov 2009 08:58:05 +0000 (08:58 +0000)
-Inherit from ogroups using existing methods, don't do it manually.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14737 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 39842f3c72159c81fa90c43ff25022a9a5cdea6b..84bd5b2b59ea8ac4a49a7405d20fd79b875b0e09 100644 (file)
@@ -443,10 +443,7 @@ class systems extends plugin
                  */
                 foreach (array("workservice", "termservice") as $cls){
                   if (isset($this->systab->by_object[$cls])){
-                    $this->systab->by_object[$cls]->gotoXMouseport= "";
-                    $this->systab->by_object[$cls]->gotoXMouseType= "";
-                    $this->systab->by_object[$cls]->gotoXResolution= "";
-                    $this->systab->by_object[$cls]->gotoXColordepth= "";
+                    $this->systab->by_object[$cls]->set_everything_to_inherited();
                   }
                 }