Fix for when to show application status

This commit is contained in:
Miles Lott 2001-09-08 16:07:05 +00:00
parent 7c7d5ba480
commit 3c3f38ec2c

View File

@ -139,7 +139,6 @@
$GLOBALS['phpgw']->db->query("select app_name,app_version from phpgw_applications",__LINE__,__FILE__); $GLOBALS['phpgw']->db->query("select app_name,app_version from phpgw_applications",__LINE__,__FILE__);
while($GLOBALS['phpgw']->db->next_record()) while($GLOBALS['phpgw']->db->next_record())
{ {
$_found = True;
$_db_version = $GLOBALS['phpgw']->db->f('app_version'); $_db_version = $GLOBALS['phpgw']->db->f('app_version');
$_app_name = $GLOBALS['phpgw']->db->f('app_name'); $_app_name = $GLOBALS['phpgw']->db->f('app_name');
$_versionfile = $GLOBALS['phpgw']->common->get_app_dir($_app_name) . '/setup/setup.inc.php'; $_versionfile = $GLOBALS['phpgw']->common->get_app_dir($_app_name) . '/setup/setup.inc.php';
@ -152,6 +151,7 @@
if($GLOBALS['phpgw']->common->cmp_version_long($_db_version,$_file_version)) if($GLOBALS['phpgw']->common->cmp_version_long($_db_version,$_file_version))
{ {
$_found = True;
$_app_string .= '<br>' . lang($_app_title); $_app_string .= '<br>' . lang($_app_title);
} }
unset($_file_version); unset($_file_version);