mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removing show alias, it was undocumented and untested.
This commit is contained in:
parent
108a6611a8
commit
1e741de84b
1 changed files with 0 additions and 4 deletions
|
@ -95,10 +95,6 @@ class PaginatorComponent extends Component {
|
||||||
throw new MissingModelException($object);
|
throw new MissingModelException($object);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($options['show'])) {
|
|
||||||
$options['limit'] = $options['show'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$options = $this->mergeOptions($object->alias, $scope, $whitelist);
|
$options = $this->mergeOptions($object->alias, $scope, $whitelist);
|
||||||
$options = $this->validateSort($object, $options);
|
$options = $this->validateSort($object, $options);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue