]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apifriendshipsshow.php
Merge remote branch 'statusnet/master' into testing
[quix0rs-gnu-social.git] / actions / apifriendshipsshow.php
index 73ecc9249a1d437c43aa5f74cefe6ed46f865294..f29e63713759ac007f81afb7b63823fb9b144276 100644 (file)
@@ -87,7 +87,6 @@ class ApiFriendshipsShowAction extends ApiBareAuthAction
         return true;
     }
 
-
     /**
      * Determines whether this API resource requires auth.  Overloaded to look
      * return true in case source_id and source_screen_name are both empty
@@ -165,4 +164,19 @@ class ApiFriendshipsShowAction extends ApiBareAuthAction
 
     }
 
+    /**
+     * Return true if read only.
+     *
+     * MAY override
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean is read only action?
+     */
+
+    function isReadOnly($args)
+    {
+        return true;
+    }
+
 }