]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't reset in showProfile()
authorEvan Prodromou <evan@status.net>
Wed, 7 Oct 2009 09:43:18 +0000 (05:43 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 7 Oct 2009 09:43:18 +0000 (05:43 -0400)
actions/showstream.php

index cdac4f47bc732c9c8ad5522441009f70bb550859..e4ecc12ff924d16d579adbe85015051170a38055 100644 (file)
@@ -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');