aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2008-11-11 13:41:27 +0000
committerplegall <plg@piwigo.org>2008-11-11 13:41:27 +0000
commit1d9821abd15519ad4732854e277ae9163f5e2a7d (patch)
tree60b338b4084a7b111acca3e8949db33b9cd9a9b5
parent7b0669167ff9e0da5a32a6aabdfe9d143201a20e (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
-rw-r--r--upgrade.php2
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']))
{