mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +00:00
remove DataMapperFactory line 697
This commit is contained in:
parent
4807dcf5c2
commit
bd29e83c06
|
|
@ -695,19 +695,8 @@ class DataMapperFactory
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($count > $pageLimit) {
|
if ($count > $pageLimit) {
|
||||||
// @todo: can be maybe removed?
|
$hasPrevious = true;
|
||||||
/*
|
\array_pop($data);
|
||||||
if (!$hasNext) {
|
|
||||||
\array_pop($data);
|
|
||||||
$hasNext = true;
|
|
||||||
--$count;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if ($count > $pageLimit) {
|
|
||||||
$hasPrevious = true;
|
|
||||||
\array_pop($data);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = \array_reverse($data);
|
$data = \array_reverse($data);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user