aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/api/controllers/History.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/api/controllers/History.php')
-rw-r--r--application/api/controllers/History.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/api/controllers/History.php b/application/api/controllers/History.php
index c4ff3e5d..da034eb2 100644
--- a/application/api/controllers/History.php
+++ b/application/api/controllers/History.php
@@ -28,7 +28,7 @@ class History extends ApiController
28 */ 28 */
29 public function getHistory($request, $response) 29 public function getHistory($request, $response)
30 { 30 {
31 $history = (new \History($this->conf->get('resource.history')))->getHistory(); 31 $history = $this->history->getHistory();
32 $history = array_reverse($history); 32 $history = array_reverse($history);
33 33
34 // Return history operations from the {offset}th, starting from {since}. 34 // Return history operations from the {offset}th, starting from {since}.