瀏覽代碼

Update AccountTransformer.php

Daniel Supernault 5 月之前
父節點
當前提交
edac836550
共有 1 個文件被更改,包括 0 次插入7 次删除
  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;
     }