1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

Import: we now skip messages when user is null

This commit is contained in:
Nicolas Lœuillet 2017-02-20 09:16:02 +01:00
parent 48be826ea9
commit b45b6b6707
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2
3 changed files with 6 additions and 3 deletions

View file

@ -46,7 +46,8 @@ abstract class AbstractConsumer
if (null === $user) {
$this->logger->warning('Unable to retrieve user', ['entry' => $storedEntry]);
return false;
// return true to skip message
return true;
}
$this->import->setUser($user);