1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Remove obsolete code.

This commit is contained in:
Tim Düsterhus 2013-01-16 16:18:45 +01:00
parent 2ff468656f
commit e72005d8f8
2 changed files with 0 additions and 2 deletions

View File

@ -102,7 +102,6 @@ public function validateUpdatePosition() {
public function updatePosition() { public function updatePosition() {
$roomList = new \wcf\data\chat\room\ChatRoomList(); $roomList = new \wcf\data\chat\room\ChatRoomList();
$roomList->sqlOrderBy = "chat_room.position"; $roomList->sqlOrderBy = "chat_room.position";
$roomList->sqlLimit = 0;
$roomList->readObjects(); $roomList->readObjects();
$i = $this->parameters['data']['offset']; $i = $this->parameters['data']['offset'];

View File

@ -18,7 +18,6 @@ public function getData(array $cacheResource) {
// get all chat rooms // get all chat rooms
$roomList = new \wcf\data\chat\room\ChatRoomList(); $roomList = new \wcf\data\chat\room\ChatRoomList();
$roomList->sqlOrderBy = "chat_room.position"; $roomList->sqlOrderBy = "chat_room.position";
$roomList->sqlLimit = 0;
$roomList->readObjects(); $roomList->readObjects();
return $roomList->getObjects(); return $roomList->getObjects();