Code

Added option for plugins to stop delete process
[gosa.git] / include / class_plugin.inc
index 15180d73cbd1719b2805435b63ce8ae03a597d83..7ba3a4054bb09fe2dd89ca1b08586507422ee2e2 100644 (file)
@@ -972,6 +972,14 @@ class plugin
     
   }
 
+
+  /* Add possibility to stop remove process */
+  function allow_remove()
+  {
+    $reason= "";
+    return $reason;
+  }
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>