From: Andrew Dolgov Date: Fri, 7 Jun 2013 07:00:34 +0000 (+0400) Subject: update: do not explicitly fclose lockfile before unlinking (refs #703) X-Git-Tag: 1.8~13 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=f863d0bd070d23ea71639638fdef2a505646a6a6 update: do not explicitly fclose lockfile before unlinking (refs #703) --- 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"); ?>