Skip to content

Commit

Permalink
removed redundant blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
gorogoroyasu committed Dec 7, 2016
1 parent b944d83 commit 235f2f5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Controller/Component/PaginatorComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,6 @@ public function getDefaults($alias, $settings)
if ($limit > $maxLimit) {
$limit = $maxLimit;
}
if (empty($settings['limit'])) {
$settings['maxLimit'] = $maxLimit;
$settings['limit'] = $limit;
}

$settings['maxLimit'] = $maxLimit;
$settings['limit'] = $limit;
Expand Down

0 comments on commit 235f2f5

Please sign in to comment.