aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
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 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');