From f863d0bd070d23ea71639638fdef2a505646a6a6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 7 Jun 2013 11:00:34 +0400 Subject: [PATCH] update: do not explicitly fclose lockfile before unlinking (refs #703) --- update.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/update.php b/update.php index 0141b1a8..ff6b8250 100755 --- a/update.php +++ b/update.php @@ -346,10 +346,6 @@ PluginHost::getInstance()->run_commands($options); - if ($lock_handle != false) { - fclose($lock_handle); - } - if (file_exists(LOCK_DIRECTORY . "/$lock_filename")) unlink(LOCK_DIRECTORY . "/$lock_filename"); ?> -- 2.39.5