diff options
Diffstat (limited to 'modules/gallery/controllers/upgrader.php')
| -rw-r--r-- | modules/gallery/controllers/upgrader.php | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/modules/gallery/controllers/upgrader.php b/modules/gallery/controllers/upgrader.php index 66c71648..365ba28e 100644 --- a/modules/gallery/controllers/upgrader.php +++ b/modules/gallery/controllers/upgrader.php @@ -1,7 +1,7 @@  <?php defined("SYSPATH") or die("No direct script access.");  /**   * Gallery - a web based photo album viewer and editor - * Copyright (C) 2000-2010 Bharat Mediratta + * Copyright (C) 2000-2011 Bharat Mediratta   *   * This program is free software; you can redistribute it and/or modify   * it under the terms of the GNU General Public License as published by @@ -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_checker"); +      if (php_sapi_name() == "cli") {        if ($failed) {          print "Upgrade completed ** WITH FAILURES **\n"; | 
