1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-22 02:00:40 +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 @@ class ChatRoomAction extends \wcf\data\AbstractDatabaseObjectAction implements \
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'];

View File

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