Remove dupe $local from AccountTransformer.php

pull/6327/head
Shlee 1 week ago committed by GitHub
parent 2b2aff4814
commit 630ea81bb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -26,7 +26,7 @@ class AccountTransformer extends Fractal\TransformerAbstract
return User::whereIsAdmin(true)->pluck('profile_id')->toArray();
});
$local = $profile->private_key != null;
//dead $local = $profile->private_key != null;
$local = $profile->user_id && $profile->private_key != null;
$hideFollowing = false;
$hideFollowers = false;

Loading…
Cancel
Save