diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-06-14 15:48:46 -0400 |
---|---|---|
committer | Robin Millette <millette@controlyourself.ca> | 2009-06-14 15:48:46 -0400 |
commit | 7c772e1d634badcbb9960f5a8c4398ae2f8cdd57 (patch) | |
tree | 5b03d4f4a27247cf5793195e0a0d33224fe41231 | |
parent | 7f76c36f24bd51fd4f204f363d5ddf35e9ea9950 (diff) |
Removed another bit of dead (commented out) code.
-rw-r--r-- | lib/noticelist.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index fadc238a4..c312292ab 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -206,24 +206,10 @@ class NoticeListItem extends Widget return 'shownotice' !== $this->out->args['action']; } -/* - function attachmentCount($discriminant = true) { - $file_oembed = new File_oembed; - $query = "select count(*) as c from file_oembed join file_to_post on file_oembed.file_id = file_to_post.file_id where post_id=" . $this->notice->id; - $file_oembed->query($query); - $file_oembed->fetch(); - return intval($file_oembed->c); - } -*/ - - function showWithAttachment() { - } - function showNoticeInfo() { $this->out->elementStart('div', 'entry-content'); $this->showNoticeLink(); -// $this->showWithAttachment(); $this->showNoticeSource(); $this->showContext(); $this->out->elementEnd('div'); |