mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-12 10:31:09 +03:00
Fix automatic set of online status
This commit is contained in:
parent
6d90246bbe
commit
5feb4535d6
@ -37,6 +37,11 @@ class UsersController extends AbstractController
|
|||||||
{
|
{
|
||||||
$operator = $this->getOperator();
|
$operator = $this->getOperator();
|
||||||
|
|
||||||
|
// Operator becomes online as soon as he open "operator/users" page
|
||||||
|
notify_operator_alive($operator['operatorid'], 0);
|
||||||
|
$operator['istatus'] = 0;
|
||||||
|
$this->getAuthenticationManager()->setOperator($operator);
|
||||||
|
|
||||||
$_SESSION[SESSION_PREFIX . "operatorgroups"] = get_operator_groups_list($operator['operatorid']);
|
$_SESSION[SESSION_PREFIX . "operatorgroups"] = get_operator_groups_list($operator['operatorid']);
|
||||||
|
|
||||||
$page = array();
|
$page = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user