diff options
author | plegall <plg@piwigo.org> | 2011-03-10 10:04:52 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-03-10 10:04:52 +0000 |
commit | f1e2d213cf7155123e2eaa6a812e5ac2de8ec119 (patch) | |
tree | eefa90fbc0005effc52dd26041e74208bf7c624b /upgrade.php | |
parent | 94168b836ef10c99ef785d6af8dbb089473012a4 (diff) |
upgrade script from 2.1 to 2.2
git-svn-id: http://piwigo.org/svn/trunk@9595 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'upgrade.php')
-rw-r--r-- | upgrade.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/upgrade.php b/upgrade.php index ef2476e3a..8925e7b2d 100644 --- a/upgrade.php +++ b/upgrade.php @@ -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'); |