don't reset in showProfile()

This commit is contained in:
Evan Prodromou 2009-10-07 05:43:18 -04:00
parent f7d86f1cc6
commit 8ade2e1c7d

View File

@ -273,7 +273,6 @@ class ShowstreamAction extends ProfileAction
$this->elementStart('div', 'entity_actions'); $this->elementStart('div', 'entity_actions');
$this->element('h2', null, _('User actions')); $this->element('h2', null, _('User actions'));
$this->elementStart('ul'); $this->elementStart('ul');
$cur = common_current_user();
if ($cur && $cur->id == $this->profile->id) { if ($cur && $cur->id == $this->profile->id) {
$this->elementStart('li', 'entity_edit'); $this->elementStart('li', 'entity_edit');