1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 12:21:27 +00:00

better error message on invalid schema in xml-export

This commit is contained in:
Andrew Dolgov
2005-11-30 09:36:54 +01:00
parent 5a66425944
commit ebb510ce61

View File

@@ -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 "<error>Source database schema is invalid
(got version $schema_version; expected ".SCHEMA_VERSION.")</error>";
print "</xmldb>";
return;
}