remove non-functional locking
This commit is contained in:
parent
fbe55ea531
commit
eb9d63c2a2
@ -84,7 +84,6 @@ class Update extends Extension
|
|||||||
$commitSHA = $_GET['sha'];
|
$commitSHA = $_GET['sha'];
|
||||||
|
|
||||||
log_info("update", "Download succeeded. Attempting to update Shimmie.");
|
log_info("update", "Download succeeded. Attempting to update Shimmie.");
|
||||||
$config->set_bool("in_upgrade", true);
|
|
||||||
$ok = false;
|
$ok = false;
|
||||||
|
|
||||||
/** TODO: Backup all folders (except /data, /images, /thumbs) before attempting this?
|
/** TODO: Backup all folders (except /data, /images, /thumbs) before attempting this?
|
||||||
@ -106,7 +105,6 @@ class Update extends Extension
|
|||||||
|
|
||||||
$zip->close();
|
$zip->close();
|
||||||
unlink("./data/update_$commitSHA.zip");
|
unlink("./data/update_$commitSHA.zip");
|
||||||
$config->set_bool("in_upgrade", false);
|
|
||||||
|
|
||||||
if ($ok) {
|
if ($ok) {
|
||||||
$config->set_string("commit_hash", $commitSHA);
|
$config->set_string("commit_hash", $commitSHA);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user