mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
remove DataMapperFactory line 697
This commit is contained in:
parent
4807dcf5c2
commit
bd29e83c06
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user