]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/api/controllers/History.php
History: fix entries order
[github/shaarli/Shaarli.git] / application / api / controllers / History.php
index da034eb226eceb276d2c5e65043aceedff0a15d8..2ff9deaf24d98f4fb1f43356184fdd69996c223a 100644 (file)
@@ -29,7 +29,6 @@ class History extends ApiController
     public function getHistory($request, $response)
     {
         $history = $this->history->getHistory();
-        $history = array_reverse($history);
 
         // Return history operations from the {offset}th, starting from {since}.
         $since = \DateTime::createFromFormat(\DateTime::ATOM, $request->getParam('since'));