From 92292d9dbddd3ecc0e5fb67550d38128a8e054f0 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 12 Dec 2008 10:10:05 +0000 Subject: [PATCH] Remove lock - if forced by "Locking dialog" git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13278 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index a95c09367..2cb0440db 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -196,10 +196,12 @@ if (isset($_GET['plug']) && $plist->plugin_access_allowed($_GET['plug'])){ } /* Check if we need to delete a lock */ -if ($old_plugin_dir != $plugin_dir && $old_plugin_dir != ""){ +if ($old_plugin_dir != $plugin_dir && $old_plugin_dir != "" || isset($_POST['delete_lock'])){ if (is_file("$old_plugin_dir/main.inc")){ $remove_lock= true; + $display = ""; require_once ("$old_plugin_dir/main.inc"); + $display = ""; } } $remove_lock= false; -- 2.30.2