a
This commit is contained in:
parent
a9f3ac18d8
commit
e7fb5d105c
|
|
@ -12,6 +12,19 @@ class ControleurAjaxmessagerie extends Controleur
|
|||
|
||||
public function index()
|
||||
{
|
||||
/*
|
||||
var_dump(
|
||||
array(
|
||||
"dureeSession" => $_SESSION['dureeSession'],
|
||||
"derniere_action" => $_SESSION['derniere_action'],
|
||||
"dureeSession_time" => $_SESSION['dureeSession']*60,
|
||||
"time" => time(),
|
||||
"diff" => (time() - $_SESSION['derniere_action']),
|
||||
"session_expiree" => $session_expiree,
|
||||
)
|
||||
);
|
||||
*/
|
||||
|
||||
$nbMessagesNonLus = $this->messagerie->countmessagesnonlus();
|
||||
|
||||
$this->genererVueAjax(array('nbMessagesNonLus' => $nbMessagesNonLus));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user