From: hickert Date: Tue, 15 May 2007 10:33:16 +0000 (+0000) Subject: Fixed logging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba735976dc054c32f41adce5843b9df61c17c160;p=gosa.git Fixed logging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6385 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index 1161e598b..d6b04fff5 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -271,8 +271,8 @@ class termDNS extends plugin foreach($tmp['del'] as $dn => $del){ $ldap->cd($dn); $ldap->rmdir_recursive($dn); + @log::log("remove","unknown/".get_class($this),$dn); } - @log::log("remove","unknown/".get_class($this),$dn); } } diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc index 20407b4f2..2be95df79 100644 --- a/plugins/admin/systems/class_terminalService.inc +++ b/plugins/admin/systems/class_terminalService.inc @@ -244,7 +244,9 @@ class termservice extends plugin $this->gotoXVsync = preg_replace("/\+/","-",$this->gotoXVsync); } - @log::log("view","terminal/".get_class($this),$this->dn); + if($this->is_account){ + @log::log("view","terminal/".get_class($this),$this->dn); + } } function execute() diff --git a/plugins/admin/systems/class_terminalStartup.inc b/plugins/admin/systems/class_terminalStartup.inc index 554118db4..dfae30147 100644 --- a/plugins/admin/systems/class_terminalStartup.inc +++ b/plugins/admin/systems/class_terminalStartup.inc @@ -144,7 +144,10 @@ class termstartup extends plugin } } } - @log::log("view","terminal/".get_class($this),$this->dn); + + if($this->is_account){ + @log::log("view","terminal/".get_class($this),$this->dn); + } } function execute() diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index 51a0cab01..190962c4a 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -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() diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index dc8aebdc3..2fbda7048 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -368,7 +368,9 @@ class workstartup extends plugin $this->gotoBootKernel= "default"; } - @log::log("view","workstation/".get_class($this),$this->dn); + if($this->is_account){ + @log::log("view","workstation/".get_class($this),$this->dn); + } }