From 1d9821abd15519ad4732854e277ae9163f5e2a7d Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 11 Nov 2008 13:41:27 +0000 Subject: 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 --- upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upgrade.php') 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'])) { -- cgit v1.2.3