Fix job dispatching

This commit is contained in:
Jonny Barnes 2016-09-20 13:13:05 +01:00
commit 7f9a73360c

View file

@ -42,7 +42,7 @@ class ReDownloadWebMentions extends Command
$webmentions = WebMention::all();
foreach ($webmentions as $webmention) {
$this->info('Initiation re-download of ' . $webmention->source);
$this->dispatch(new DownloadWebMention($webmention->source));
dispatch(new DownloadWebMention($webmention->source));
}
}
}