feature 2856: upgrade script to version 2.5

git-svn-id: http://piwigo.org/svn/trunk@21103 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2013-03-02 21:02:42 +00:00
parent dcd518ce6e
commit 082705b414
3 changed files with 132 additions and 3 deletions
+6 -2
View File
@@ -322,6 +322,10 @@ else if (!in_array('rating_score', $columns_of[PREFIX_TABLE.'images']))
{
$current_release = '2.2.0';
}
else if (!in_array('rotation', $columns_of[PREFIX_TABLE.'images']))
{
$current_release = '2.3.0';
}
else
{
// retrieve already applied upgrades
@@ -331,9 +335,9 @@ SELECT id
;';
$applied_upgrades = array_from_query($query, 'id');
if (!in_array(127, $applied_upgrades))
if (!in_array(134, $applied_upgrades))
{
$current_release = '2.3.0';
$current_release = '2.4.0';
}
else
{