Commit d1e609a8 authored by mmn's avatar mmn

Local user profile getUrl gives dynamically generated URL

parent f1439259
......@@ -1431,6 +1431,8 @@ class Profile extends Managed_DataObject
: $this->profileurl;
}
Event::handle('EndUserGroupHomeUrl', array($this->getGroup(), $url));
} elseif ($this->isLocal()) {
$url = common_local_url('showstream', array('nickname' => $this->getNickname()));
} else {
$url = $this->profileurl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment