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:
Bharat Mediratta
2011-01-17 20:03:11 -08:00
parent 2b190c0559
commit 45caba09f8
2 changed files with 3 additions and 3 deletions

View File

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