1
0
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:
Max 2013-05-04 17:16:00 +03:00
parent fa1e296f77
commit b3c2df7f30

View File

@ -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 {