From c6184376c5d6856937ba03d5bd7bca7ddda57077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 29 Nov 2011 16:57:44 +0100 Subject: [PATCH] Use FQN of WCF in ChatPageMenuItemProvider --- file/lib/system/menu/page/ChatPageMenuItemProvider.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php b/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php index 1418f5a..8954a1e 100644 --- a/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php +++ b/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php @@ -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);