From 754a12881d7a4c9a5bdc4a3456cb704822688630 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 14 Jun 2012 12:29:52 +0000 Subject: feature 2632: major upgrade script from 2.3 to 2.4 (which calls tasks in install/db directory) git-svn-id: http://piwigo.org/svn/trunk@15679 68402e56-0260-453c-a942-63ccdbb3a9ee --- upgrade.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'upgrade.php') diff --git a/upgrade.php b/upgrade.php index b5de61d52..7bee609aa 100644 --- a/upgrade.php +++ b/upgrade.php @@ -284,6 +284,10 @@ else if (!in_array('rating_score', $columns_of[PREFIX_TABLE.'images'])) { $current_release = '2.2.0'; } +else if (!in_array('coi', $columns_of[PREFIX_TABLE.'images'])) +{ + $current_release = '2.3.0'; +} else { die('No upgrade required, the database structure is up to date'); -- cgit v1.2.3