]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "Added getfile action"
authorEvan Prodromou <evan@status.net>
Sat, 31 Oct 2009 18:32:12 +0000 (14:32 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 31 Oct 2009 18:32:12 +0000 (14:32 -0400)
This reverts commit f58daa873befbaee5a998e69622c046c8a978dee.

lib/router.php

index 7455d9cf851acc11c72f3fd135ab7768a12724b2..5529e60acb82f8a59f71d079823dff6bba6086d7 100644 (file)
@@ -171,10 +171,6 @@ class Router
                     array('action' => 'attachment_thumbnail'),
                     array('attachment' => '[0-9]+'));
 
-        $m->connect('getfile/:filename',
-                    array('action' => 'getfile'),
-                    array('filename' => '[A-Za-z0-9._-]+'));
-
         $m->connect('notice/new', array('action' => 'newnotice'));
         $m->connect('notice/new?replyto=:replyto',
                     array('action' => 'newnotice'),