mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 07:25:54 +00:00
update CLI schema updater with newer warnings
This commit is contained in:
@@ -45,7 +45,7 @@ class DbUpdater {
|
||||
if ($html_output)
|
||||
print "<pre>$line</pre>";
|
||||
else
|
||||
print "\t$line\n";
|
||||
print " * $line\n";
|
||||
|
||||
if (strpos($line, "--") !== 0 && $line) {
|
||||
try {
|
||||
|
||||
@@ -1133,7 +1133,7 @@ class Handler_Public extends Handler {
|
||||
if ($op == "performupdate") {
|
||||
if ($updater->isUpdateRequired()) {
|
||||
|
||||
print "<h2>" . T_sprintf("Performing updates to schema version %d", SCHEMA_VERSION) . "</h2>";
|
||||
print "<h2>" . T_sprintf("Performing updates to version %d", SCHEMA_VERSION) . "</h2>";
|
||||
|
||||
for ($i = $updater->getSchemaVersion() + 1; $i <= SCHEMA_VERSION; $i++) {
|
||||
print "<ul>";
|
||||
|
||||
Reference in New Issue
Block a user