aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-05-07 16:56:20 +0200
committerArthurHoaro <arthur@hoa.ro>2017-05-07 17:11:25 +0200
commit6bc90f50af611a1674ee1118587feddd4f625d44 (patch)
treef301229c18fc5a3f013e0558078f7807f30ef92c /application
parent57ce6dae5d5c737adde277b9d43bafb68101df40 (diff)
downloadShaarli-6bc90f50af611a1674ee1118587feddd4f625d44.tar.gz
Shaarli-6bc90f50af611a1674ee1118587feddd4f625d44.tar.zst
Shaarli-6bc90f50af611a1674ee1118587feddd4f625d44.zip
History: fix entries order
Diffstat (limited to 'application')
-rw-r--r--application/api/controllers/History.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/application/api/controllers/History.php b/application/api/controllers/History.php
index da034eb2..2ff9deaf 100644
--- a/application/api/controllers/History.php
+++ b/application/api/controllers/History.php
@@ -29,7 +29,6 @@ class History extends ApiController
29 public function getHistory($request, $response) 29 public function getHistory($request, $response)
30 { 30 {
31 $history = $this->history->getHistory(); 31 $history = $this->history->getHistory();
32 $history = array_reverse($history);
33 32
34 // Return history operations from the {offset}th, starting from {since}. 33 // Return history operations from the {offset}th, starting from {since}.
35 $since = \DateTime::createFromFormat(\DateTime::ATOM, $request->getParam('since')); 34 $since = \DateTime::createFromFormat(\DateTime::ATOM, $request->getParam('since'));