summaryrefslogtreecommitdiff
path: root/actions/apifriendshipsexists.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apifriendshipsexists.php')
-rw-r--r--actions/apifriendshipsexists.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apifriendshipsexists.php b/actions/apifriendshipsexists.php
index 2910f7ead..c040b9f6a 100644
--- a/actions/apifriendshipsexists.php
+++ b/actions/apifriendshipsexists.php
@@ -33,7 +33,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
-require_once INSTALLDIR . '/lib/api.php';
+require_once INSTALLDIR . '/lib/apiprivateauth.php';
/**
* Tests for the existence of friendship between two users. Will return true if
@@ -48,7 +48,7 @@ require_once INSTALLDIR . '/lib/api.php';
* @link http://status.net/
*/
-class ApiFriendshipsExistsAction extends ApiAction
+class ApiFriendshipsExistsAction extends ApiPrivateAuthAction
{
var $user_a = null;
var $user_b = null;