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
This commit is contained in:
plegall
2008-11-11 13:39:56 +00:00
parent a3f21b4051
commit df2f3a4f4d
+1 -1
View File
@@ -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']))
{