]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apifriendshipsexists.php
Vimeo oEmbed thumbnail host added to whitelist
[quix0rs-gnu-social.git] / actions / apifriendshipsexists.php
index c8766633b67f07181ed75a3c5d339117d9bcb2b5..1f76e00b1a7ab7c2a641f372b8ea9486c55e8fb3 100644 (file)
@@ -33,8 +33,6 @@ if (!defined('STATUSNET')) {
     exit(1);
 }
 
-require_once INSTALLDIR . '/lib/apiprivateauth.php';
-
 /**
  * Tests for the existence of friendship between two users. Will return true if
  * user_a follows user_b, otherwise will return false.
@@ -85,7 +83,7 @@ class ApiFriendshipsExistsAction extends ApiPrivateAuthAction
         if (empty($this->profile_a) || empty($this->profile_b)) {
             $this->clientError(
                 // TRANS: Client error displayed when supplying invalid parameters to an API call checking if a friendship exists.
-                _('Two valid IDs or screen_names must be supplied.'),
+                _('Two valid IDs or nick names must be supplied.'),
                 400,
                 $this->format
             );