mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:45:56 +00:00
update: do not explicitly fclose lockfile before unlinking (refs #703)
This commit is contained in:
@@ -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");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user