]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ApiBundle/Controller/EntryRestController.php
Fix tests
[github/wallabag/wallabag.git] / src / Wallabag / ApiBundle / Controller / EntryRestController.php
index 5ccaa4ef885d12937c8005c1a106a300ac4b5d82..7590efbb16b5325102ccea35afdae450bd7581b6 100644 (file)
@@ -459,7 +459,6 @@ class EntryRestController extends WallabagRestController
 
         // handle multiple urls
         if (!empty($list)) {
-            $results = [];
             foreach ($list as $key => $element) {
                 $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId(
                     $element->url,
@@ -517,7 +516,6 @@ class EntryRestController extends WallabagRestController
 
         // handle multiple urls
         if (!empty($list)) {
-            $results = [];
             foreach ($list as $key => $element) {
                 $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId(
                     $element->url,