From: Andrew Dolgov Date: Thu, 29 Dec 2005 18:06:23 +0000 (+0100) Subject: allow xml i/e tools use schema v4 X-Git-Tag: schema_freeze_for_1.1.2~46 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4f17b5f973c2bbd8606a624bc82e4fca3e118e26;p=tt-rss.git allow xml i/e tools use schema v4 --- diff --git a/xml-export.php b/xml-export.php index b25f50e1..32b0004d 100644 --- a/xml-export.php +++ b/xml-export.php @@ -1,6 +1,8 @@ $schema_version"; - if ($schema_version > 1) { + if ($schema_version > MAX_SCHEMA_VERSION) { $owner_uid = $_SESSION["uid"]; print "$owner_uid"; } diff --git a/xml-import.php b/xml-import.php index b2c9d21b..6cae60e0 100644 --- a/xml-import.php +++ b/xml-import.php @@ -5,8 +5,8 @@ require_once "functions.php"; require_once "db.php"; - define('MAX_SOURCE_SCHEMA_VERSION', 3); - define('TARGET_SCHEMA_VERSION', 3); + define('MAX_SOURCE_SCHEMA_VERSION', 4); + define('TARGET_SCHEMA_VERSION', 4); $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);