@@ -10,14 +10,9 @@ |
||
| 10 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 11 | 11 | use Symfony\Component\HttpFoundation\Response; |
| 12 | 12 | use Symfony\Component\Routing\Annotation\Route; |
| 13 | -use Oc\Repository\Exception\RecordAlreadyExistsException; |
|
| 14 | -use Oc\Repository\Exception\RecordNotFoundException; |
|
| 15 | -use Oc\Repository\Exception\RecordNotPersistedException; |
|
| 16 | -use Oc\Repository\Exception\RecordsNotFoundException; |
|
| 17 | 13 | use Oc\Repository\CachesRepository; |
| 18 | 14 | use Oc\Repository\UserRepository; |
| 19 | 15 | use Oc\Repository\SecurityRolesRepository; |
| 20 | -use Oc\Entity\CachesEntity; |
|
| 21 | 16 | |
| 22 | 17 | class CachesController extends AbstractController |
| 23 | 18 | { |
@@ -48,9 +48,9 @@ |
||
| 48 | 48 | } else { |
| 49 | 49 | return $this->render( |
| 50 | 50 | 'backend/caches/basicsearch.html.twig', [ |
| 51 | - 'cachesForm' => $form->createView(), |
|
| 52 | - 'caches_by_searchfield' => $fetchedCaches |
|
| 53 | - ] |
|
| 51 | + 'cachesForm' => $form->createView(), |
|
| 52 | + 'caches_by_searchfield' => $fetchedCaches |
|
| 53 | + ] |
|
| 54 | 54 | ); |
| 55 | 55 | } |
| 56 | 56 | } |
@@ -4,9 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\DBAL\Connection; |
| 6 | 6 | use Oc\Entity\CachesEntity; |
| 7 | -use Oc\Repository\Exception\RecordAlreadyExistsException; |
|
| 8 | -use Oc\Repository\Exception\RecordNotFoundException; |
|
| 9 | -use Oc\Repository\Exception\RecordNotPersistedException; |
|
| 10 | 7 | use Oc\Repository\Exception\RecordsNotFoundException; |
| 11 | 8 | |
| 12 | 9 | class CachesRepository |