Browse Source

Update AccountTransformer.php

Daniel Supernault 5 months ago
parent
commit
edac836550
1 changed files with 0 additions and 7 deletions
  1. 0 7
      app/Transformer/Api/AccountTransformer.php

+ 0 - 7
app/Transformer/Api/AccountTransformer.php

@@ -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;
     }