don't reset in showProfile()
This commit is contained in:
parent
f7d86f1cc6
commit
8ade2e1c7d
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user