summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-06-07 11:00:34 +0400
committerAndrew Dolgov <[email protected]>2013-06-07 11:00:34 +0400
commitf863d0bd070d23ea71639638fdef2a505646a6a6 (patch)
tree5ba37ce6edd7de021eccd1a1e91352eb3cb4eea2 /update.php
parentf127eacb3bb09c8aa97f0e2f5cc11cb1367ea9e7 (diff)
update: do not explicitly fclose lockfile before unlinking (refs #703)
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/update.php b/update.php
index 0141b1a8e..ff6b82503 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");
?>