From df2f3a4f4d3bc0402d3cb7be38506b131f18e12c Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 11 Nov 2008 13:39:56 +0000 Subject: [PATCH] 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/branches/2.0@2861 68402e56-0260-453c-a942-63ccdbb3a9ee --- upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])) {