Revert all PHP-Based MySQL Locks introduced in #1584

This commit is contained in:
f0o
2015-09-02 14:46:42 +01:00
parent bc3916df2c
commit da9e071d7d
5 changed files with 4 additions and 93 deletions

View File

@@ -91,13 +91,6 @@ if ($tmp[0] <= $db_rev) {
return;
}
if (!dbGetLock('schema_update')) {
echo "Schema update already in progress. Exiting\n";
exit(1);
} //end if
register_shutdown_function('dbReleaseLock','schema_update');
foreach ($filelist as $file) {
list($filename,$extension) = explode('.', $file, 2);
if ($filename > $db_rev) {
@@ -168,4 +161,3 @@ if ($updating) {
echo "-- Done\n";
}
dbReleaseLock('schema_update');