summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-03-07 06:44:59 +0300
committerAndrew Dolgov <[email protected]>2019-03-07 06:44:59 +0300
commite91223ec7d41cc15a24117fd42f3a00c87eee201 (patch)
tree033c9b12f3e6fc58c3889a4db1417a2d210ebe1e /classes
parent91cfd9c391c9c243b9a9ead6ca856740f156a38e (diff)
update CLI schema updater with newer warnings
Diffstat (limited to 'classes')
-rw-r--r--classes/dbupdater.php2
-rwxr-xr-xclasses/handler/public.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/dbupdater.php b/classes/dbupdater.php
index 01c6a59f1..70cea881b 100644
--- a/classes/dbupdater.php
+++ b/classes/dbupdater.php
@@ -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 {
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 6456853a6..dc9ec2df3 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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>";