]> git.wh0rd.org Git - tt-rss.git/commitdiff
daemon2: make wrong schema version error display if quiet
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 1 Apr 2013 15:51:59 +0000 (19:51 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 1 Apr 2013 15:51:59 +0000 (19:51 +0400)
update_daemon2.php

index 2fbdd8b8cde7db3b68be98c91ce6fe812d967b93..37d6b40747adfc298c2dea96ab9162a7cc450d5b 100755 (executable)
                        db_close($link);
 
                        if ($test_schema_version != $schema_version) {
-                               _debug("Expected schema version: $schema_version, got: $test_schema_version");
-                               _debug("Schema version changed while we were running, bailing out");
+                               echo "Expected schema version: $schema_version, got: $test_schema_version\n";
+                               echo "Schema version changed while we were running, bailing out\n";
                                exit(100);
                        }