diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-02-20 09:16:02 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-02-20 09:16:02 +0100 |
commit | b45b6b6707de9e4518d99c58b0a0bf7d886971b7 (patch) | |
tree | bebdebcff2d3d4ae0c82bafd04194f091d09db76 /src | |
parent | 48be826ea981188c882694ca3e488d0fcaac79d3 (diff) | |
download | wallabag-b45b6b6707de9e4518d99c58b0a0bf7d886971b7.tar.gz wallabag-b45b6b6707de9e4518d99c58b0a0bf7d886971b7.tar.zst wallabag-b45b6b6707de9e4518d99c58b0a0bf7d886971b7.zip |
Import: we now skip messages when user is null
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php b/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php index fc175f67..992ce1ad 100644 --- a/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php +++ b/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php | |||
@@ -46,7 +46,8 @@ abstract class AbstractConsumer | |||
46 | if (null === $user) { | 46 | if (null === $user) { |
47 | $this->logger->warning('Unable to retrieve user', ['entry' => $storedEntry]); | 47 | $this->logger->warning('Unable to retrieve user', ['entry' => $storedEntry]); |
48 | 48 | ||
49 | return false; | 49 | // return true to skip message |
50 | return true; | ||
50 | } | 51 | } |
51 | 52 | ||
52 | $this->import->setUser($user); | 53 | $this->import->setUser($user); |