mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
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:
+6
-2
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user