From: Andrew Dolgov Date: Thu, 29 Dec 2005 18:08:12 +0000 (+0100) Subject: allow xml i/e tools use schema v4: take two X-Git-Tag: schema_freeze_for_1.1.2~45 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=eadcf397db297594d807604a504f90ec3abeac16;p=tt-rss.git allow xml i/e tools use schema v4: take two --- diff --git a/xml-export.php b/xml-export.php index 32b0004d..620331fb 100644 --- a/xml-export.php +++ b/xml-export.php @@ -66,7 +66,7 @@ print "$schema_version"; - if ($schema_version > MAX_SCHEMA_VERSION) { + if ($schema_version > 1) { $owner_uid = $_SESSION["uid"]; print "$owner_uid"; } @@ -104,7 +104,7 @@ feed_id = ttrss_feeds.id $marked_qpart $unread_qpart ORDER BY ttrss_entries.id"); - } else if ($schema_version == 2) { + } else if ($schema_version >= 2 && $schema_version <= MAX_SCHEMA_VERSION) { $result = db_query($link, "SELECT ttrss_entries.title AS title,