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();