From cce5b59a751d5a6189ee4e988efe25e06fa589c6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Feb 2006 11:20:22 +0100 Subject: [PATCH] add auth to xml-export if required, bump schema compatibility constants --- utils/xml-export.php | 40 ++++++++++++++++++++++------------------ utils/xml-import.php | 4 ++-- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/utils/xml-export.php b/utils/xml-export.php index 620331fb..a10c9e3d 100644 --- a/utils/xml-export.php +++ b/utils/xml-export.php @@ -1,7 +1,7 @@ 1) login_sequence($link); + ?> @@ -39,23 +60,6 @@ Source database schema is invalid diff --git a/utils/xml-import.php b/utils/xml-import.php index 6cae60e0..aeccd77e 100644 --- a/utils/xml-import.php +++ b/utils/xml-import.php @@ -5,8 +5,8 @@ require_once "functions.php"; require_once "db.php"; - define('MAX_SOURCE_SCHEMA_VERSION', 4); - define('TARGET_SCHEMA_VERSION', 4); + define('MAX_SOURCE_SCHEMA_VERSION', 5); + define('TARGET_SCHEMA_VERSION', 5); $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); -- 2.39.5