]> git.wh0rd.org - tt-rss.git/blobdiff - update.php
update: do not explicitly fclose lockfile before unlinking (refs #703)
[tt-rss.git] / update.php
index 0141b1a8e5c31a072c3ebfe8219ab412f587d689..ff6b825035288f3b66c17dbd00523c3210f7903a 100755 (executable)
 
        PluginHost::getInstance()->run_commands($options);
 
-       if ($lock_handle != false) {
-               fclose($lock_handle);
-       }
-
        if (file_exists(LOCK_DIRECTORY . "/$lock_filename"))
                unlink(LOCK_DIRECTORY . "/$lock_filename");
 ?>