update: do not explicitly fclose lockfile before unlinking (refs #703)

master
Andrew Dolgov 11 years ago
parent f127eacb3b
commit f863d0bd07

@ -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");
?>

Loading…
Cancel
Save