don't show sub/unsub on your own record!
darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz
This commit is contained in:
parent
8bec9e06f8
commit
dc5d227f77
@ -57,7 +57,7 @@ class ProfileList {
|
|||||||
'id' => 'profile-' . $this->profile->id));
|
'id' => 'profile-' . $this->profile->id));
|
||||||
|
|
||||||
$user = common_current_user();
|
$user = common_current_user();
|
||||||
if ($user) {
|
if ($user && $user->id != $this->profile->id) {
|
||||||
# XXX: special-case for user looking at own
|
# XXX: special-case for user looking at own
|
||||||
# subscriptions page
|
# subscriptions page
|
||||||
if ($user->isSubscribed($this->profile)) {
|
if ($user->isSubscribed($this->profile)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user