Преглед изворни кода

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