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:
parent
2ff468656f
commit
e72005d8f8
@ -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'];
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user