Skip to content
Permalink
Browse files

removed redundant blocks

  • Loading branch information...
gorogoroyasu committed Dec 7, 2016
1 parent b944d83 commit 235f2f5cc28941f9ce1e26ec5339f94287b37e22
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/Controller/Component/PaginatorComponent.php
@@ -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;

0 comments on commit 235f2f5

Please sign in to comment.
You can’t perform that action at this time.