We're just jumping on to the Profile->getNickname() function.
return $this->uri;
}
+ public function getNickname()
+ {
+ return $this->getProfile()->getNickname();
+ }
+
function isSubscribed(Profile $other)
{
return $this->getProfile()->isSubscribed($other);
$case[strtolower($k)] = $k;
}
if ((substr(phpversion(),0,1) == 5) && isset($case[strtolower($element)])) {
+ file_put_contents('/tmp/backtrace', var_export(debug_backtrace(),true));
trigger_error("PHP5 set/get calls should match the case of the variable",E_USER_WARNING);
$element = strtolower($element);
}
// In reply to a notice either from or mentioning this user.
} else if (!empty($context->attention) &&
(array_key_exists($this->user->uri, $context->attention) ||
- array_key_exists($common_profile_url($this->user->nickname),
+ array_key_exists($common_profile_url($this->user->getNickname()),
$context->attention)))
{
// To the attention of this user.