aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-03-31 17:03:08 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-03-31 17:03:08 +0200
commit13a592a1288d7deb49211838368583c0109a5fbd (patch)
tree62dc0812bc74e08f6fec9962bb62748e95e08aae /src/Wallabag/CoreBundle/Controller/ConfigController.php
parente682a70f88338af66b8d47bfe078e32fd9c6520c (diff)
downloadwallabag-13a592a1288d7deb49211838368583c0109a5fbd.tar.gz
wallabag-13a592a1288d7deb49211838368583c0109a5fbd.tar.zst
wallabag-13a592a1288d7deb49211838368583c0109a5fbd.zip
Renamed methods
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index b2814ade..1a80cc1a 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -329,7 +329,7 @@ class ConfigController extends Controller
329 */ 329 */
330 private function removeTagsForArchivedByUserId($userId) 330 private function removeTagsForArchivedByUserId($userId)
331 { 331 {
332 $tags = $this->getDoctrine()->getRepository('WallabagCoreBundle:Tag')->findTagsForArchivedArticles($userId); 332 $tags = $this->getDoctrine()->getRepository('WallabagCoreBundle:Tag')->findForArchivedArticlesByUser($userId);
333 $this->removeAllTagsByStatusAndUserId($tags, $userId); 333 $this->removeAllTagsByStatusAndUserId($tags, $userId);
334 } 334 }
335 335
@@ -339,7 +339,7 @@ class ConfigController extends Controller
339 339
340 $archivedEntriesAnnotations = $this->getDoctrine() 340 $archivedEntriesAnnotations = $this->getDoctrine()
341 ->getRepository('WallabagAnnotationBundle:Annotation') 341 ->getRepository('WallabagAnnotationBundle:Annotation')
342 ->findAllByArchivedEntriesAndUserId($userId); 342 ->findAllArchivedEntriesByUser($userId);
343 343
344 foreach ($archivedEntriesAnnotations as $archivedEntriesAnnotation) { 344 foreach ($archivedEntriesAnnotations as $archivedEntriesAnnotation) {
345 $em->remove($archivedEntriesAnnotation); 345 $em->remove($archivedEntriesAnnotation);