From c4dcb88beadb26f969462c83c3348f00523d1a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 18 Jan 2013 15:45:21 +0100 Subject: [PATCH] Properly refer to exceptions --- file/lib/data/chat/room/ChatRoomAction.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file/lib/data/chat/room/ChatRoomAction.class.php b/file/lib/data/chat/room/ChatRoomAction.class.php index 18b0f94..6549e20 100644 --- a/file/lib/data/chat/room/ChatRoomAction.class.php +++ b/file/lib/data/chat/room/ChatRoomAction.class.php @@ -86,11 +86,11 @@ public function validateUpdatePosition() { WCF::getSession()->checkPermissions($this->permissionsUpdate); } else { - throw new PermissionDeniedException(); + throw new \wcf\system\exception\PermissionDeniedException(); } if (!isset($this->parameters['data']['structure'])) { - throw new UserInputException('structure'); + throw new \wcf\system\exception\UserInputException('structure'); } if (!isset($this->parameters['data']['offset'])) $this->parameters['data']['offset'] = 0;