diff options
author | plegall <plg@piwigo.org> | 2008-11-11 13:41:27 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2008-11-11 13:41:27 +0000 |
commit | 1d9821abd15519ad4732854e277ae9163f5e2a7d (patch) | |
tree | 60b338b4084a7b111acca3e8949db33b9cd9a9b5 /upgrade.php | |
parent | 7b0669167ff9e0da5a32a6aabdfe9d143201a20e (diff) |
merge -c2861 from branch 2.0 to trunk
improvement: instead of checking for #history_summary table presence, we
check for #plugins table. Some web hosting provider have removed this table,
causing misleading information to the upgrade script from 1.7.0.
git-svn-id: http://piwigo.org/svn/trunk@2862 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | upgrade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.php b/upgrade.php index 244eb0917..b042c0910 100644 --- a/upgrade.php +++ b/upgrade.php @@ -199,7 +199,7 @@ else if (!in_array(PREFIX_TABLE.'tags', $tables)) { $current_release = '1.5.0'; } -else if ( !in_array(PREFIX_TABLE.'history_summary', $tables) ) +else if ( !in_array(PREFIX_TABLE.'plugins', $tables) ) { if (!in_array('auto_login_key', $columns_of[PREFIX_TABLE.'user_infos'])) { |