From 4dac3d0a6f2c29db4de78fbefafa30942d64fbea Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 16 May 2007 11:01:50 +0000 Subject: [PATCH] Updated logging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6397 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/ogroups/class_ogroup.inc | 2 +- plugins/admin/ogroups/class_termgroup.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.30.2