kopia lustrzana https://github.com/pixelfed/pixelfed
Update AccountTransformer.php
rodzic
92ce41ce18
commit
edac836550
|
@ -75,13 +75,6 @@ class AccountTransformer extends Fractal\TransformerAbstract
|
|||
'location' => $profile->location,
|
||||
];
|
||||
|
||||
if ($profile->moved_to_profile_id) {
|
||||
$mt = AccountService::getMastodon($profile->moved_to_profile_id, true);
|
||||
if ($mt) {
|
||||
$res['moved'] = $mt;
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue