소스 검색

Update FixMissingUserProfile.php

Daniel Supernault 2 달 전
부모
커밋
b303f90978
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      app/Console/Commands/FixMissingUserProfile.php

+ 0 - 6
app/Console/Commands/FixMissingUserProfile.php

@@ -11,7 +11,6 @@ use App\UserSetting;
 use App\Services\UserFilterService;
 use App\Models\DefaultDomainBlock;
 use App\Models\UserDomainBlock;
-use App\Models\UserNotify;
 use App\Jobs\FollowPipeline\FollowPipeline;
 use DB;
 use App\Services\FollowerService;
@@ -95,11 +94,6 @@ class FixMissingUserProfile extends Command
                 $user->profile_id = $profile->id;
                 $user->save();
 
-                UserNotify::updateOrCreate([
-                    'profile_id' => $profile->id,
-                    'user_id' => $user->id,
-                ]);
-
                 CreateAvatar::dispatch($profile);
             });