NEW: Event notifications in browser

This commit is contained in:
Juanjo Menent 2017-01-15 18:48:32 +01:00
parent d18c8e3a14
commit 58c25a68a8

View File

@ -30,7 +30,7 @@ session_start();
$time_update = 60;
if (! empty($conf->global->AGENDA_NOTIFICATION)) {
if ($_SESSION['auto_check_events'] <= (int)$time) {
if ($_SESSION['auto_check_events'] <= (int) $time) {
$_SESSION['auto_check_events'] = $time + $time_update;
$eventos = array();