From e72005d8f8f7c4dd90708566e354af0395f0b0ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 16 Jan 2013 16:18:45 +0100 Subject: [PATCH] Remove obsolete code. --- file/lib/data/chat/room/ChatRoomAction.class.php | 1 - file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php | 1 - 2 files changed, 2 deletions(-) diff --git a/file/lib/data/chat/room/ChatRoomAction.class.php b/file/lib/data/chat/room/ChatRoomAction.class.php index 0e83779..18b0f94 100644 --- a/file/lib/data/chat/room/ChatRoomAction.class.php +++ b/file/lib/data/chat/room/ChatRoomAction.class.php @@ -102,7 +102,6 @@ public function validateUpdatePosition() { public function updatePosition() { $roomList = new \wcf\data\chat\room\ChatRoomList(); $roomList->sqlOrderBy = "chat_room.position"; - $roomList->sqlLimit = 0; $roomList->readObjects(); $i = $this->parameters['data']['offset']; diff --git a/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php b/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php index fcc99a4..d8232c4 100644 --- a/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php +++ b/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php @@ -18,7 +18,6 @@ public function getData(array $cacheResource) { // get all chat rooms $roomList = new \wcf\data\chat\room\ChatRoomList(); $roomList->sqlOrderBy = "chat_room.position"; - $roomList->sqlLimit = 0; $roomList->readObjects(); return $roomList->getObjects();