Skip to content

Commit

Permalink
merge -r1424:1425 from branch 1.6 to trunk (bug 395 fixed: the upgrad…
Browse files Browse the repository at this point in the history
…e feed

can be performed only if PHPWG_IN_UPGRADE is true).


git-svn-id: http://piwigo.org/svn/trunk@1426 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Jul 3, 2006
1 parent d9875e0 commit aa2c4ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/common.inc.php
Expand Up @@ -132,7 +132,9 @@
mysql_select_db( $cfgBase )
or die ( "Could not connect to database" );

if ($conf['check_upgrade_feed'])
if ($conf['check_upgrade_feed']
and defined('PHPWG_IN_UPGRADE')
and PHPWG_IN_UPGRADE)
{
// retrieve already applied upgrades
$query = '
Expand Down

0 comments on commit aa2c4ef

Please sign in to comment.