don't show message link on your own page
darcs-hash:20080917175512-5ed1f-0242ead7766806165266e424ed6d1cb9dd19abca.gz
This commit is contained in:
parent
124762160a
commit
ae6ba61d43
|
@ -149,7 +149,7 @@ class ShowstreamAction extends StreamAction {
|
||||||
|
|
||||||
$user = User::staticGet('id', $profile->id);
|
$user = User::staticGet('id', $profile->id);
|
||||||
|
|
||||||
if ($cur->mutuallySubscribed($user)) {
|
if ($cur->id != $user->id && $cur->mutuallySubscribed($user)) {
|
||||||
common_element('a', array('href' => common_local_url('newmessage', array('nickname' => $user->nickname))),
|
common_element('a', array('href' => common_local_url('newmessage', array('nickname' => $user->nickname))),
|
||||||
_('Send a message'));
|
_('Send a message'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user