Code

Updated logging
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 May 2007 11:01:50 +0000 (11:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 May 2007 11:01:50 +0000 (11:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6397 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/ogroups/class_ogroup.inc
plugins/admin/ogroups/class_termgroup.inc

index 9a17773cf9b5b0c996925d1bed337e7bffcb800d..7c13eedc6023de2a6b726925713c9e204b040d3f 100644 (file)
@@ -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);
     }
 
index ece1d495c816a8d60e109106b9ecb940645fb0ea..2c8239a3976999a0f6be752dafa4659a8a0dcbbd 100644 (file)
@@ -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);
     }
   }