Fix job dispatching

This commit is contained in:
Jonny Barnes 2016-09-20 13:13:05 +01:00
parent e482c0df9e
commit 7f9a73360c
8 changed files with 18 additions and 39 deletions

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));
}
}
}