]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apifriendshipsdestroy.php
Merge branch 'master' into social-master
[quix0rs-gnu-social.git] / actions / apifriendshipsdestroy.php
index 1534aa799f482119b9c16908dd215191b40392ac..610c912cb65f19c10dd6532e547af31f161f91dc 100644 (file)
@@ -33,8 +33,6 @@ if (!defined('STATUSNET')) {
     exit(1);
 }
 
-require_once INSTALLDIR . '/lib/apiauth.php';
-
 /**
  * Allows the authenticating users to unfollow (unsubscribe) the user specified in
  * the ID parameter.  Returns the unfollowed user in the requested format when
@@ -60,7 +58,7 @@ class ApiFriendshipsDestroyAction extends ApiAuthAction
      * @return boolean success flag
      *
      */
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -79,7 +77,7 @@ class ApiFriendshipsDestroyAction extends ApiAuthAction
      *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);