diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ConfigController.php | 4 |
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); |