Explorar o código

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

Andrew Dolgov %!s(int64=11) %!d(string=hai) anos
pai
achega
f863d0bd07
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      update.php

+ 0 - 4
update.php

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