mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 10:13:00 +02:00
upgrade script from 2.1 to 2.2
git-svn-id: http://piwigo.org/svn/trunk@9595 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -284,6 +284,10 @@ else if (!in_array(PREFIX_TABLE.'themes', $tables))
|
||||
{
|
||||
$current_release = '2.0.0';
|
||||
}
|
||||
else if (!in_array('added_by', $columns_of[PREFIX_TABLE.'images']))
|
||||
{
|
||||
$current_release = '2.1.0';
|
||||
}
|
||||
else
|
||||
{
|
||||
die('No upgrade required, the database structure is up to date');
|
||||
|
||||
Reference in New Issue
Block a user