mirror of
https://github.com/Mibew/mibew.git
synced 2025-06-04 16:16:15 +03:00
fixed comments for Operator Status controller
This commit is contained in:
parent
4072aae2bb
commit
6d0fff91a8
@ -23,12 +23,12 @@ use Mibew\Settings;
|
|||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents button-related actions
|
* Operator Status actions
|
||||||
*/
|
*/
|
||||||
class OpStatusController extends AbstractController
|
class OpStatusController extends AbstractController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Returns content of the chat button.
|
* Returns true or false of whether an operator is online or not.
|
||||||
*
|
*
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @return string Rendered page content
|
* @return string Rendered page content
|
||||||
@ -50,7 +50,7 @@ class OpStatusController extends AbstractController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get image file content
|
// Get status of operators in chat. (supports group based status)
|
||||||
$op_status = has_online_operators($group_id) ? true : false;
|
$op_status = has_online_operators($group_id) ? true : false;
|
||||||
|
|
||||||
return $op_status;
|
return $op_status;
|
||||||
|
Loading…
Reference in New Issue
Block a user