]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apifriendshipsshow.php
Remove more redundant $formats
[quix0rs-gnu-social.git] / actions / apifriendshipsshow.php
index d35825a4333146c55e8f0ecfea454a84af92e61b..0ae6a7b82b8b1c152f7f2da213edd719b19beb02 100644 (file)
@@ -45,8 +45,6 @@ require_once INSTALLDIR.'/lib/apibareauth.php';
 
 class ApiFriendshipsShowAction extends ApiBareAuthAction
 {
-
-    var $format = null;
     var $user   = null;
     var $source = null;
     var $target = null;
@@ -64,14 +62,6 @@ class ApiFriendshipsShowAction extends ApiBareAuthAction
     {
         parent::prepare($args);
 
-        if ($this->requiresAuth()) {
-            if ($this->checkBasicAuthUser() == false) {
-                return;
-            }
-        }
-
-        $this->format = $this->arg('format');
-
         $source_id          = (int)$this->trimmed('source_id');
         $source_screen_name = $this->trimmed('source_screen_name');
         $target_id          = (int)$this->trimmed('target_id');