mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-17 07:51:12 +08:00
Removed unnecessary lines
This commit is contained in:
@ -114,7 +114,6 @@ class ArrayDataProvider extends DataProvider
|
||||
}
|
||||
|
||||
if (($pagination = $this->getPagination()) !== false) {
|
||||
$pagination->totalCount = $this->getTotalCount();
|
||||
$models = array_slice($models, $pagination->getOffset(), $pagination->getLimit());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user