mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
SystemException was not imported
This commit is contained in:
parent
382bbdba3c
commit
8b0dd6e391
@ -88,7 +88,7 @@ public function readData() {
|
|||||||
try {
|
try {
|
||||||
\wcf\util\ChatUtil::writeUserData(array('lastSeen' => end($this->newestMessages)->messageID));
|
\wcf\util\ChatUtil::writeUserData(array('lastSeen' => end($this->newestMessages)->messageID));
|
||||||
}
|
}
|
||||||
catch (SystemException $e) {
|
catch (\wcf\system\SystemException $e) {
|
||||||
\wcf\util\ChatUtil::writeUserData(array('lastSeen' => 0));
|
\wcf\util\ChatUtil::writeUserData(array('lastSeen' => 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user