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

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