* @return boolean success flag
*
*/
- protected function prepare($args)
+ protected function prepare(array $args=array())
{
parent::prepare($args);
$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.
*
* @return boolean is read only action?
*/
- function isReadOnly($args)
+ function isReadOnly(array $args=array())
{
return true;
}