Code

Applied patches from 2.5 Revision: 6519
[gosa.git] / plugins / admin / ogroups / class_ogroupManagement.inc
index b5ab277dcaede6b45471f685cf1adaaa8090ab0c..14f9d9f97ef32540864659651ec9f2c68da3525b 100644 (file)
@@ -185,7 +185,7 @@ class ogroupManagement extends plugin
           /* Normally this shouldn't be reached, send some extra
              logs to notify the administrator */
           print_red (_("You are not allowed to delete this object group!"));
-          @log::log("security","ogroups/".get_class($this),$dn,array(),"Tried to trick deletion.");
+          new log("security","ogroups/".get_class($this),$dn,array(),"Tried to trick deletion.");
         }
         /* Remove lock file after successfull deletion */
         del_lock ($dn);
@@ -264,7 +264,7 @@ class ogroupManagement extends plugin
         /* Normally this shouldn't be reached, send some extra
            logs to notify the administrator */
         print_red (_("You are not allowed to delete this object group!"));
-        @log::log("security","ogroups/".get_class($this),$dn,array(),"Tried to trick deletion.");
+        new log("security","ogroups/".get_class($this),$dn,array(),"Tried to trick deletion.");
       }
 
       /* Remove lock file after successfull deletion */