From: Andrew Dolgov Date: Wed, 30 Nov 2005 08:36:54 +0000 (+0100) Subject: better error message on invalid schema in xml-export X-Git-Tag: schema_feature_freeze_for_1.1~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ebb510ce61d2c3594fcaea81d2f3f0bcc9b635fa;p=tt-rss.git better error message on invalid schema in xml-export --- diff --git a/xml-export.php b/xml-export.php index 13ab65b9..c97b964f 100644 --- a/xml-export.php +++ b/xml-export.php @@ -34,8 +34,9 @@ $schema_version = db_fetch_result($result, 0, "schema_version"); if ($schema_version != SCHEMA_VERSION) { - print "Error: database schema is invalid - (got version $schema_version; expected ".SCHEMA_VERSION.")"; + print "Source database schema is invalid + (got version $schema_version; expected ".SCHEMA_VERSION.")"; + print ""; return; }