mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-29 10:26:46 -04:00
Detect out-of-date modules and put up a message for site admins.
Fixes ticket #1353.
This commit is contained in:
@@ -83,6 +83,9 @@ class Upgrader_Controller extends Controller {
|
||||
}
|
||||
}
|
||||
|
||||
// If the upgrade failed, this will get recreated
|
||||
site_status::clear("upgrade_now");
|
||||
|
||||
if (php_sapi_name() == "cli") {
|
||||
print "Upgrade complete\n";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user