remove DataMapperFactory line 697

This commit is contained in:
Dennis Eichhorn 2023-10-15 19:12:07 +00:00
parent 4807dcf5c2
commit bd29e83c06

View File

@ -694,21 +694,10 @@ class DataMapperFactory
--$count; --$count;
} }
if ($count > $pageLimit) {
// @todo: can be maybe removed?
/*
if (!$hasNext) {
\array_pop($data);
$hasNext = true;
--$count;
}
*/
if ($count > $pageLimit) { if ($count > $pageLimit) {
$hasPrevious = true; $hasPrevious = true;
\array_pop($data); \array_pop($data);
} }
}
$data = \array_reverse($data); $data = \array_reverse($data);
} }