mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-02-06 20:00:48 +00:00
Update AccountTransformer.php
This commit is contained in:
parent
92ce41ce18
commit
edac836550
1 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue