only show subscription controls to owner

This commit is contained in:
Evan Prodromou 2009-07-03 01:26:21 -04:00
parent d80c553e5f
commit f73d93fa7a
1 changed files with 4 additions and 1 deletions

View File

@ -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();
}