diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-04-29 12:58:39 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-04-29 12:58:39 +0200 |
commit | dcbebc17aaa50ea16eb0b7e379c14ebbcf0a645a (patch) | |
tree | cd79383bf11aa08406ff00d1ae753b057a8d58f3 /src | |
parent | 80299ed282d4f18ef92a79f29f9346b96acde468 (diff) | |
download | wallabag-dcbebc17aaa50ea16eb0b7e379c14ebbcf0a645a.tar.gz wallabag-dcbebc17aaa50ea16eb0b7e379c14ebbcf0a645a.tar.zst wallabag-dcbebc17aaa50ea16eb0b7e379c14ebbcf0a645a.zip |
Fix tests
Diffstat (limited to 'src')
-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, |