1
0
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:
Tim Düsterhus 2011-11-29 16:57:44 +01:00
parent bca0772268
commit c6184376c5

View File

@ -18,7 +18,7 @@ class ChatPageMenuItemProvider extends DefaultPageMenuItemProvider {
*/ */
public function isVisible() { public function isVisible() {
// guests are not supported // guests are not supported
if (!WCF::getUser()->userID) return false; if (!\wcf\system\WCF::getUser()->userID) return false;
try { try {
\wcf\data\chat\room\ChatRoom::getCache()->seek(0); \wcf\data\chat\room\ChatRoom::getCache()->seek(0);