diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-10 18:48:44 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-10 18:48:44 +0300 |
commit | d760df02ddbafa85ebba4149969aed5f2d6af02f (patch) | |
tree | 9e86997094a5c657415c59eefa0667d994954450 /libraries/classes/Controllers | |
parent | 81192a142bbfde4f0795a6496c62ffc58dec5700 (diff) |
Move DBI getEvents method into the Events class
DatabaseInterface::getEvents -> Database\Events::getDetails
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'libraries/classes/Controllers')
-rw-r--r-- | libraries/classes/Controllers/Database/EventsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/classes/Controllers/Database/EventsController.php b/libraries/classes/Controllers/Database/EventsController.php index a72b034a46..b0d6c70632 100644 --- a/libraries/classes/Controllers/Database/EventsController.php +++ b/libraries/classes/Controllers/Database/EventsController.php @@ -81,7 +81,7 @@ final class EventsController extends AbstractController $this->events->handleEditor(); $this->events->export(); - $items = $this->dbi->getEvents($GLOBALS['db']); + $items = $this->events->getDetails($GLOBALS['db']); $this->render('database/events/index', [ 'db' => $GLOBALS['db'], |