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

This commit is contained in:
Andrew Dolgov 2013-06-07 11:00:34 +04:00
parent f127eacb3b
commit f863d0bd07
1 changed files with 0 additions and 4 deletions

View File

@ -346,10 +346,6 @@
PluginHost::getInstance()->run_commands($options); PluginHost::getInstance()->run_commands($options);
if ($lock_handle != false) {
fclose($lock_handle);
}
if (file_exists(LOCK_DIRECTORY . "/$lock_filename")) if (file_exists(LOCK_DIRECTORY . "/$lock_filename"))
unlink(LOCK_DIRECTORY . "/$lock_filename"); unlink(LOCK_DIRECTORY . "/$lock_filename");
?> ?>