From 0a529a57cb966c45771887fc8bab7d04a46b860b Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 21 Dec 2009 23:17:24 +1300 Subject: [PATCH] Display DAViCal version & schema wanted / actual versions. --- htdocs/upgrade.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/htdocs/upgrade.php b/htdocs/upgrade.php index ef564a24..e94ef6e1 100644 --- a/htdocs/upgrade.php +++ b/htdocs/upgrade.php @@ -14,11 +14,19 @@ $session->LoginRequired(); include("interactive-page.php"); include("page-header.php"); +$want_dbversion = implode('.',$c->want_dbversion); + echo <<Upgrade

Currently this page does nothing. Suggestions or patches to make it do something useful will be gratefully received. - +
  +

+

Current Versions

+You are currently DAViCal version $c->version_string. +The database schema should be at version $want_dbversion and it is at version $c->schema_major.$c->schema_minor.$c->schema_patch. +
  +

Upgrading DAViCal Versions

The update-davical-database should be run manually after upgrading the software to a new version of DAViCal.

@@ -27,5 +35,4 @@ manually after upgrading the software to a new version of DAViCal.

script, but until then I'm afraid you do need to run it. EOBODY; -