aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-21 08:36:57 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-21 08:36:57 +0200
commitc937de34433c14adcec82a0164730a99859d37c3 (patch)
treeb25f9560bdefc5e48a1f7821a77f1f818235f4a8 /src/Wallabag
parent109d67dbb16478f927c3d6a46ab61ea9994aafae (diff)
downloadwallabag-c937de34433c14adcec82a0164730a99859d37c3.tar.gz
wallabag-c937de34433c14adcec82a0164730a99859d37c3.tar.zst
wallabag-c937de34433c14adcec82a0164730a99859d37c3.zip
remove dead code
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php
index dc399b8a..b6a68963 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -201,29 +201,6 @@ class EntryController extends Controller
201 'currentPage' => $page, 201 'currentPage' => $page,
202 ) 202 )
203 ); 203 );
204
205 if ($request->query->has($form->getName())) {
206 // manually bind values from the request
207 $form->submit($request->query->get($form->getName()));
208
209 // build the query from the given form object
210 $this->get('lexik_form_filter.query_builder_updater')->addFilterConditions($form, $filterBuilder);
211 }
212
213 $pagerAdapter = new DoctrineORMAdapter($filterBuilder->getQuery());
214 $entries = new Pagerfanta($pagerAdapter);
215
216 $entries->setMaxPerPage($this->getUser()->getConfig()->getItemsPerPage());
217 $entries->setCurrentPage($page);
218
219 return $this->render(
220 'WallabagCoreBundle:Entry:entries.html.twig',
221 array(
222 'form' => $form->createView(),
223 'entries' => $entries,
224 'currentPage' => $page,
225 )
226 );
227 } 204 }
228 205
229 /** 206 /**