From: hickert Date: Wed, 16 May 2007 11:01:50 +0000 (+0000) Subject: Updated logging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4dac3d0a6f2c29db4de78fbefafa30942d64fbea;p=gosa.git Updated logging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6397 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_ogroup.inc b/plugins/admin/ogroups/class_ogroup.inc index 9a17773cf..7c13eedc6 100644 --- a/plugins/admin/ogroups/class_ogroup.inc +++ b/plugins/admin/ogroups/class_ogroup.inc @@ -94,7 +94,7 @@ class ogroup extends plugin $this->base= preg_replace("/^[^,]+,".get_groups_ou()."/","",$this->dn); } - if($this->is_account){ + if($this->is_account && $dn != "new"){ @log::log("view","ogroup/".get_class($this),$this->dn); } diff --git a/plugins/admin/ogroups/class_termgroup.inc b/plugins/admin/ogroups/class_termgroup.inc index ece1d495c..2c8239a39 100644 --- a/plugins/admin/ogroups/class_termgroup.inc +++ b/plugins/admin/ogroups/class_termgroup.inc @@ -96,7 +96,7 @@ class termgroup extends plugin } } - if($this->is_account){ + if($this->is_account && $dn != "new"){ @log::log("view","ogroups/".get_class($this),$this->dn); } }