Skip to content

Commit 4723319

Browse files
author
RedEnchilada
committed
Oh wait, I'm a dumbass
1 parent 8d4d336 commit 4723319

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

actions/showstream.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ function title()
105105
}
106106
}
107107

108-
/*function showNoticeForm()
109-
{
110-
$notice_form = new NoticeForm($this, array('content' => "@{$this->profile->nickname} "));
111-
$notice_form->show();
112-
}*/
113-
114108
function handle($args)
115109
{
116110
// Looks like we're good; start output
@@ -327,6 +321,7 @@ function noticeFormOptions()
327321

328322
if (empty($cur) || $cur->id != $this->profile->id) {
329323
$options['to_profile'] = $this->profile;
324+
$options['content'] = "@{$this->profile->nickname} ";
330325
}
331326

332327
return $options;

lib/profileaction.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,6 @@ function showLists()
331331
$this->elementEnd('div');
332332
}
333333
}
334-
335-
function noticeFormOptions()
336-
{
337-
$options = parent::noticeFormOptions();
338-
$options['content'] = "@{$this->profile->nickname} ";
339-
340-
return $options;
341-
}
342334
}
343335

344336
class SubscribersMiniList extends ProfileMiniList

0 commit comments

Comments
 (0)