mastodon/app
NOGISAKA Sadata e050958794 Skip some methods in BatchedRemoveStatusService when account is nil (#10095)
* Skip some methods in BatchedRemoveStatusService when account is nil

Sometimes `bin/tootctl accounts cull` fails with below error:

undefined method `followers_for_local_distribution' for nil:NilClass (NoMethodError)

This commit makes BatchedRemoveStatusService to skip below methods when
`account` is nil:

- unpush_from_home_timelines()
- unpush_from_list_timelines()
- batch_stream_entries()

* Fix rubocop error: Use `next` to skip iteration.
2019-02-24 14:28:36 +01:00
..
chewy
controllers
helpers I18n: Add language options for Kazakh and Lithuanian (#10104) 2019-02-23 22:20:35 +01:00
javascript Weblate translations (2019-02-23) (#10103) 2019-02-23 18:41:28 +01:00
lib
mailers
models
policies
presenters
serializers
services Skip some methods in BatchedRemoveStatusService when account is nil (#10095) 2019-02-24 14:28:36 +01:00
validators
views
workers