From 8ade2e1c7db731e7347b68393c64cbc76a6b0517 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 7 Oct 2009 05:43:18 -0400 Subject: [PATCH] don't reset in showProfile() --- actions/showstream.php | 1 - 1 file changed, 1 deletion(-) diff --git a/actions/showstream.php b/actions/showstream.php index cdac4f47bc..e4ecc12ff9 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -273,7 +273,6 @@ class ShowstreamAction extends ProfileAction $this->elementStart('div', 'entity_actions'); $this->element('h2', null, _('User actions')); $this->elementStart('ul'); - $cur = common_current_user(); if ($cur && $cur->id == $this->profile->id) { $this->elementStart('li', 'entity_edit'); -- 2.39.5