Code

Switched log call
[gosa.git] / plugins / admin / applications / class_applicationManagement.inc
index 8ce6dc1840255f6109c41e7f3382b2f0b63dccc1..a340977ca8e09cb7542f9346828f1f9444a856b1 100644 (file)
@@ -318,7 +318,7 @@ class applicationManagement 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 application!"));
-          @log::log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
+          new log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
         }
         /* Remove lock file after successfull deletion */
         del_lock ($dn);
@@ -402,7 +402,7 @@ class applicationManagement 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 application!"));
-        @log::log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
+        new log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
       }
 
       /* Remove lock file after successfull deletion */