Skip to content

Commit

Permalink
Don't create an unused event
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Mar 3, 2021
1 parent 9ddac32 commit 777f1ae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Controller/RoomController.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ public function getRooms(int $noStatusUpdate = 0): DataResponse {
* @return DataResponse
*/
public function getListedRooms(string $searchTerm = ''): DataResponse {
$event = new UserEvent($this->userId);

$rooms = $this->manager->getListedRoomsForUser($this->userId, $searchTerm);

$return = [];
Expand Down

0 comments on commit 777f1ae

Please sign in to comment.