Code

Fixed logging
[gosa.git] / plugins / admin / systems / class_workstationService.inc
index 51a0cab019b13104c0ca74f8f26f4830d769f099..190962c4a561e7ea35f905b6b42f454b606993b9 100644 (file)
@@ -235,7 +235,9 @@ class workservice extends plugin
       $this->MousePorts= array('AUTO' => _("inherited"));
     }
 
-    @log::log("view","workstation/".get_class($this),$this->dn);
+    if($this->is_account){
+      @log::log("view","workstation/".get_class($this),$this->dn);
+    }
   }
 
   function execute()