Skip to content

Commit 45b42ce

Browse files
authored
Merge pull request #1866 from nextcloud/backport/1859/stable31
2 parents 8804607 + 79c7888 commit 45b42ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Controller/LogController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public function get($query = '', $count = 50, $offset = 0): JSONResponse {
6969
*/
7070
private function getLastItem() {
7171
$iterator = $this->logIteratorFactory->getLogIterator($this->settingsService->getShownLevels());
72-
$iterator->next();
7372
return $iterator->current();
7473
}
7574

0 commit comments

Comments
 (0)