]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed more cruft from old attachment/attachements pages
authorRobin Millette <millette@controlyourself.ca>
Mon, 25 May 2009 19:42:03 +0000 (19:42 +0000)
committerRobin Millette <millette@controlyourself.ca>
Mon, 25 May 2009 19:42:03 +0000 (19:42 +0000)
actions/tag.php
lib/router.php

index e71ec06a8fbafdaa2d094d1de8d74e2281349341..e9351d24193a6cc066f5d1ff66bfb584ab780517 100644 (file)
@@ -49,8 +49,6 @@ class TagAction extends Action
     {
         $pop = new PopularNoticeSection($this);
         $pop->show();
-//        $freqatt = new FrequentAttachmentSection($this);
-//        $freqatt->show();
     }
 
     function title()
index d1e2970c5f421b059c4639c1952952a11068366a..fc119821b9260a30cc4ccdc64c04c6d9369383f3 100644 (file)
@@ -151,10 +151,6 @@ class Router
         $m->connect('search/notice/rss?q=:q', array('action' => 'noticesearchrss'),
                     array('q' => '.+'));
 
-/*
-        $m->connect('attachment/ajax_by_url/*url',
-                    array('action' => 'attachment_ajax'));
-*/
         $m->connect('attachment/:attachment/ajax',
                     array('action' => 'attachment_ajax'),
                     array('attachment' => '[0-9]+'));
@@ -163,27 +159,11 @@ class Router
                     array('action' => 'attachment_thumbnail'),
                     array('attachment' => '[0-9]+'));
 
-/*
-        TODO
-        not used right now, will revisit later
-        $m->connect('attachment/:attachment',
-                    array('action' => 'attachment'),
-                    array('attachment' => '[0-9]+'));
-*/
-        // notice
-
         $m->connect('notice/new', array('action' => 'newnotice'));
         $m->connect('notice/new?replyto=:replyto',
                     array('action' => 'newnotice'),
                     array('replyto' => '[A-Za-z0-9_-]+'));
-/*
-        $m->connect('notice/:notice/attachments/ajax',
-                    array('action' => 'attachments_ajax'),
-                    array('notice' => '[0-9]+'));
-        $m->connect('notice/:notice/attachments',
-                    array('action' => 'attachments'),
-                    array('notice' => '[0-9]+'));
-*/
+
         $m->connect('notice/:notice',
                     array('action' => 'shownotice'),
                     array('notice' => '[0-9]+'));