mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix bug when nodePush dies
This commit is contained in:
parent
fa1e296f77
commit
b3c2df7f30
@ -167,7 +167,7 @@ public function getUsers() {
|
||||
* @return \wcf\data\user\UserList
|
||||
*/
|
||||
public static function getDeadUsers() {
|
||||
if (\wcf\system\nodePush\NodePushHandler::getInstance()->isRunning()) {
|
||||
if (\wcf\system\nodePush\NodePushHandler::getInstance()->isEnabled()) {
|
||||
$time = TIME_NOW - 120;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user