From 93c6b5868a4c6d88a6f38870ebc95965af5493bb Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 12 Dec 2008 13:16:52 +0000 Subject: [PATCH] Updated main git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13286 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index a5d9c2a74..f79abdad7 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -197,21 +197,22 @@ if (isset($_GET['plug']) && $plist->plugin_access_allowed($_GET['plug'])){ /* Check if we need to delete a lock */ $cleanup = FALSE; +$remove_lock= FALSE; if ($old_plugin_dir != $plugin_dir && $old_plugin_dir != "" || isset($_POST['delete_lock'])){ if (is_file("$old_plugin_dir/main.inc")){ if(isset($_POST['delete_lock'])){ - $remove_lock= true; + $remove_lock= TRUE; } if($old_plugin_dir != $plugin_dir && $old_plugin_dir != ""){ - $cleanup= true; + $cleanup= TRUE; } $display = ""; require_once ("$old_plugin_dir/main.inc"); $display = ""; } } -$remove_lock= false; -$cleanup= false; +$remove_lock= FALSE; +$cleanup= FALSE; /* Check for sizelimits */ eval_sizelimit(); -- 2.30.2