diff options
author | Andrew Dolgov <[email protected]> | 2016-04-26 20:04:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-04-26 20:04:24 +0300 |
commit | 977cea1438dafcdc98756b070a1383e5887d64c1 (patch) | |
tree | 4a4e5d75d56c7c36c72a70d811d9db1926de7a52 /classes/handler/public.php | |
parent | 9e84bab449f9ed55e02e60378b0af1521026f3b8 (diff) |
actually check for failures properly in the dbupdater
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 46fc90fe1..d166e315e 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -980,7 +980,7 @@ class Handler_Public extends Handler { for ($i = $updater->getSchemaVersion() + 1; $i <= SCHEMA_VERSION; $i++) { print "<li>Performing update up to version $i..."; - $result = $updater->performUpdateTo($i); + $result = $updater->performUpdateTo($i, true); if (!$result) { print "<span class='err'>FAILED!</span></li></ul>"; @@ -990,7 +990,7 @@ class Handler_Public extends Handler { <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; - break; + return; } else { print "<span class='ok'>OK!</span></li>"; } |