Local user profile getUrl gives dynamically generated URL
This commit is contained in:
parent
f143925931
commit
d1e609a886
@ -1431,6 +1431,8 @@ class Profile extends Managed_DataObject
|
|||||||
: $this->profileurl;
|
: $this->profileurl;
|
||||||
}
|
}
|
||||||
Event::handle('EndUserGroupHomeUrl', array($this->getGroup(), $url));
|
Event::handle('EndUserGroupHomeUrl', array($this->getGroup(), $url));
|
||||||
|
} elseif ($this->isLocal()) {
|
||||||
|
$url = common_local_url('showstream', array('nickname' => $this->getNickname()));
|
||||||
} else {
|
} else {
|
||||||
$url = $this->profileurl;
|
$url = $this->profileurl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user