mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10: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() {
|
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'];
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user