mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
Fix for when to show application status
This commit is contained in:
parent
7c7d5ba480
commit
3c3f38ec2c
2
home.php
2
home.php
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user