Additional fix for non-installed apps during upgrades

This commit is contained in:
Miles Lott 2002-01-15 01:46:27 +00:00
parent 298f754424
commit 85ef717696
2 changed files with 4 additions and 5 deletions

View File

@ -172,16 +172,14 @@
/* Only set this if it has not already failed to upgrade - Milosch */ /* Only set this if it has not already failed to upgrade - Milosch */
if ($setup_info[$key]['status'] != 'F' )//&& $setup_info[$key]['status'] != 'C') if ($setup_info[$key]['status'] != 'F' )//&& $setup_info[$key]['status'] != 'C')
{ {
/*
if($setup_info[$key]['status'] == 'C') if($setup_info[$key]['status'] == 'C')
{ {
$setup_info[$key]['status'] = 'P'; $setup_info[$key]['status'] = 'D';
} }
else else
{ {
*/ $setup_info[$key]['status'] = 'P';
$setup_info[$key]['status'] = 'D'; }
//}
} }
} }
} }

View File

@ -515,6 +515,7 @@
{ {
echo '<br>process_upgrade(): Application not installed: ' . $appname . "\n"; echo '<br>process_upgrade(): Application not installed: ' . $appname . "\n";
} }
@unset($setup_info[$key]);
continue; continue;
} }