aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-06-14 12:29:52 +0000
committerplegall <plg@piwigo.org>2012-06-14 12:29:52 +0000
commit754a12881d7a4c9a5bdc4a3456cb704822688630 (patch)
treed38a8d9514b2887a06301f8d7c9b8ad14e0bbc6e /upgrade.php
parent06347bfb71abff567d97a5a8f24b5039a263a67c (diff)
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
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php4
1 files changed, 4 insertions, 0 deletions
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');