summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5701656)
raw | patch | inline | side by side (parent: 5701656)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Dec 2008 13:14:10 +0000 (13:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Dec 2008 13:14:10 +0000 (13:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13284 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/main.php | patch | blob | history |
index a42fbe18e98c6ded2a3c43cb2d71091bddbdada3..c01fc893623d471a49965ac55f0b4fdd3510c942 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
}
/* Check if we need to delete a lock */
+$cleanup = FALSE;
if ($old_plugin_dir != $plugin_dir && $old_plugin_dir != "" || isset($_POST['delete_lock'])){
if (is_file("$old_plugin_dir/main.inc")){
- $remove_lock= true;
- $cleanup= true;
+ if(isset($_POST['delete_lock'])){
+ echo "<font color='red'><b>Remove lock</b></font>";
+ $remove_lock= true;
+ }
+ if($old_plugin_dir != $plugin_dir && $old_plugin_dir != ""){
+ echo "<font color='red'><b>Cleanup</b></font>";
+ $cleanup= true;
+ }
$display = "";
require_once ("$old_plugin_dir/main.inc");
$display = "";
/* Load plugin */
if (is_file("$plugin_dir/main.inc")){
- require_once ("$plugin_dir/main.inc");
+ require ("$plugin_dir/main.inc");
} else {
msg_dialog::display(
_("Plugin"),