mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed download messages for first time
This commit is contained in:
parent
fffa84620f
commit
5e6080c354
@ -536,9 +536,11 @@ $config['logged'] = false;
|
|||||||
extensions_load_extensions ($process_login);
|
extensions_load_extensions ($process_login);
|
||||||
|
|
||||||
// Check for update manager messages
|
// Check for update manager messages
|
||||||
if (license_free() && is_user_admin ($config['id_user']) && $config['last_um_check'] > (time() + 2 * SECONDS_1HOUR)) {
|
if (license_free() && is_user_admin ($config['id_user']) &&
|
||||||
|
(($config['last_um_check'] > (time() + 2 * SECONDS_1HOUR)) ||
|
||||||
|
(!isset($config['last_um_check'])))) {
|
||||||
|
|
||||||
require_once("include/functions_update_manager.php");
|
require_once("include/functions_update_manager.php");
|
||||||
|
|
||||||
update_manager_download_messages ();
|
update_manager_download_messages ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user