diff options
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/EntryRestController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/EntryRestController.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php index 5ccaa4ef..7590efbb 100644 --- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php +++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php | |||
@@ -459,7 +459,6 @@ class EntryRestController extends WallabagRestController | |||
459 | 459 | ||
460 | // handle multiple urls | 460 | // handle multiple urls |
461 | if (!empty($list)) { | 461 | if (!empty($list)) { |
462 | $results = []; | ||
463 | foreach ($list as $key => $element) { | 462 | foreach ($list as $key => $element) { |
464 | $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId( | 463 | $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId( |
465 | $element->url, | 464 | $element->url, |
@@ -517,7 +516,6 @@ class EntryRestController extends WallabagRestController | |||
517 | 516 | ||
518 | // handle multiple urls | 517 | // handle multiple urls |
519 | if (!empty($list)) { | 518 | if (!empty($list)) { |
520 | $results = []; | ||
521 | foreach ($list as $key => $element) { | 519 | foreach ($list as $key => $element) { |
522 | $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId( | 520 | $entry = $this->get('wallabag_core.entry_repository')->findByUrlAndUserId( |
523 | $element->url, | 521 | $element->url, |