]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialProfileExtensions/actions/bio.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / GNUsocialProfileExtensions / actions / bio.php
index bc9f12cb132ee68250eaeee8aa24c790ce8ec00f..fc49003cb46ef8e6de867c747206046dc4d8eba9 100644 (file)
@@ -38,21 +38,20 @@ class BioAction extends Action
 {
     var $user = null;
 
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
         $args = $this->returnToArgs();
-        $this->profile = Profile::staticGet('nickname', $args[1]['nickname']);
+        $this->profile = Profile::getKV('nickname', $args[1]['nickname']);
         //die(print_r($this->profile));
         gnusocial_profile_merge($this->profile);
-        $this->avatar = $this->profile->getAvatar(96);
 
         return true;
 
     }
 
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
         $this->showPage();