@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace LAG\AdminBundle\Action\Configuration; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use LAG\AdminBundle\Admin\AdminInterface; |
|
| 7 | 6 | |
| 8 | 7 | class ConfigurationException extends Exception |
| 9 | 8 | { |
@@ -86,8 +86,7 @@ |
||
| 86 | 86 | if (false !== $this->isPaginationRequired) { |
| 87 | 87 | // Load entities from the DataProvider using a pagination system |
| 88 | 88 | $entities = $this->loadPaginate($criteria, $orderBy, $limit, $offset); |
| 89 | - } |
|
| 90 | - else { |
|
| 89 | + } else { |
|
| 91 | 90 | // If no pagination is required (edit action for example) |
| 92 | 91 | $entities = $this->loadWithoutPagination($criteria, $orderBy); |
| 93 | 92 | } |