mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 17:29:18 -04:00
Move the code that clears the upgrade_check site status message to the
upgrader so that it's cleared any time we run an upgrade. Part of
This commit is contained in:
@@ -94,6 +94,9 @@ class Upgrader_Controller extends Controller {
|
||||
// If the upgrade failed, this will get recreated
|
||||
site_status::clear("upgrade_now");
|
||||
|
||||
// Clear any upgrade check strings, we are probably up to date.
|
||||
site_status::clear("upgrade_check");
|
||||
|
||||
if (php_sapi_name() == "cli") {
|
||||
if ($failed) {
|
||||
print "Upgrade completed ** WITH FAILURES **\n";
|
||||
|
||||
Reference in New Issue
Block a user