]> git.wh0rd.org Git - tt-rss.git/commitdiff
update: do not explicitly fclose lockfile before unlinking (refs #703)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 7 Jun 2013 07:00:34 +0000 (11:00 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 7 Jun 2013 07:00:34 +0000 (11:00 +0400)
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");
 ?>