forked from mirror/pixelfed
Merge pull request #927 from pixelfed/frontend-ui-refactor
Update UpdateCommand
This commit is contained in:
commit
4545f960ce
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class UpdateCommand extends Command
|
||||||
$this->info('No updates found.');
|
$this->info('No updates found.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$bar = $this->output->createProgressBar(\App\StatusHashtag::count());
|
$bar = $this->output->createProgressBar(\App\StatusHashtag::whereNull('profile_id')->count());
|
||||||
\App\StatusHashtag::whereNull('profile_id')->with('status')->chunk(50, function($sh) use ($bar) {
|
\App\StatusHashtag::whereNull('profile_id')->with('status')->chunk(50, function($sh) use ($bar) {
|
||||||
foreach($sh as $status_hashtag) {
|
foreach($sh as $status_hashtag) {
|
||||||
if(!$status_hashtag->status) {
|
if(!$status_hashtag->status) {
|
||||||
|
|
Loading…
Reference in a new issue