MINOR: Removed useless setPageLimits call from ComplexTableField::Items().

This commit is contained in:
ajshort 2011-04-01 15:10:07 +11:00 committed by Sam Minnee
parent 45a8866fab
commit fc8d442505

View File

@ -255,7 +255,6 @@ JS;
} }
$pageStart = (isset($_REQUEST['ctf'][$this->Name()]['start']) && is_numeric($_REQUEST['ctf'][$this->Name()]['start'])) ? $_REQUEST['ctf'][$this->Name()]['start'] : 0; $pageStart = (isset($_REQUEST['ctf'][$this->Name()]['start']) && is_numeric($_REQUEST['ctf'][$this->Name()]['start'])) ? $_REQUEST['ctf'][$this->Name()]['start'] : 0;
$sourceItems->setPageLimits($pageStart, $this->pageSize, $this->TotalCount());
$output = new DataObjectSet(); $output = new DataObjectSet();
foreach($sourceItems as $pageIndex=>$item) { foreach($sourceItems as $pageIndex=>$item) {