]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed another bit of dead (commented out) code.
authorRobin Millette <millette@controlyourself.ca>
Sun, 14 Jun 2009 19:48:46 +0000 (15:48 -0400)
committerRobin Millette <millette@controlyourself.ca>
Sun, 14 Jun 2009 19:48:46 +0000 (15:48 -0400)
lib/noticelist.php

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