X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapiexternalprofileshow.php;h=4e8419cf6b60723f2a561a4a5717ac26865fd2ee;hb=9e89a177c76741f7e696f09d778bd8b151f84d3f;hp=8a007e18b3f4c5f5050a2c391b74fa7b2f03cdb8;hpb=1d8b19fe545e62370dc7c1810478021473d5357f;p=quix0rs-gnu-social.git
diff --git a/actions/apiexternalprofileshow.php b/actions/apiexternalprofileshow.php
index 8a007e18b3..4e8419cf6b 100644
--- a/actions/apiexternalprofileshow.php
+++ b/actions/apiexternalprofileshow.php
@@ -20,7 +20,7 @@
* along with this program. If not, see .
*
* @category API
- * @package GNUSocial
+ * @package GNUsocial
* @author Hannes Mannerheim
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://www.gnu.org/software/social/
@@ -42,7 +42,7 @@ class ApiExternalProfileShowAction extends ApiPrivateAuthAction
* @return boolean success flag
*
*/
- protected function prepare($args)
+ protected function prepare(array $args=array())
{
parent::prepare($args);
@@ -53,7 +53,7 @@ class ApiExternalProfileShowAction extends ApiPrivateAuthAction
$profileurl = urldecode($this->arg('profileurl'));
// TODO: Make this more ... unique!
- $this->profile = Profile::staticGet('profileurl', $profileurl);
+ $this->profile = Profile::getKV('profileurl', $profileurl);
if (!($this->profile instanceof Profile)) {
// TRANS: Client error displayed when requesting profile information for a non-existing profile.