aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2008-11-11 13:39:56 +0000
committerplegall <plg@piwigo.org>2008-11-11 13:39:56 +0000
commitdf2f3a4f4d3bc0402d3cb7be38506b131f18e12c (patch)
tree983c25b7ce1f166ac1d8a3ebb3bee64d4beda394 /upgrade.php
parenta3f21b40518b34c991a41f1c82f4470c8ec2dd8e (diff)
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
Diffstat (limited to 'upgrade.php')
-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']))
{