Преглед на файлове

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