only show subscription controls to owner
This commit is contained in:
parent
d80c553e5f
commit
f73d93fa7a
|
@ -159,7 +159,10 @@ class SubscriptionsListItem extends SubscriptionListItem
|
|||
$this->showBio();
|
||||
$this->showTags();
|
||||
// Relevant portion!
|
||||
$this->showOwnerControls();
|
||||
$cur = common_current_user();
|
||||
if (!empty($cur) && $cur->id == $this->owner->id) {
|
||||
$this->showOwnerControls();
|
||||
}
|
||||
$this->endProfile();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user