mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Use FQN of WCF in ChatPageMenuItemProvider
This commit is contained in:
parent
bca0772268
commit
c6184376c5
@ -18,7 +18,7 @@ class ChatPageMenuItemProvider extends DefaultPageMenuItemProvider {
|
||||
*/
|
||||
public function isVisible() {
|
||||
// guests are not supported
|
||||
if (!WCF::getUser()->userID) return false;
|
||||
if (!\wcf\system\WCF::getUser()->userID) return false;
|
||||
|
||||
try {
|
||||
\wcf\data\chat\room\ChatRoom::getCache()->seek(0);
|
||||
|
Loading…
Reference in New Issue
Block a user