forked from GNUsocial/gnu-social
FileAction removed (we have AttachmentAction).
It seems it was only used to get a _single_ file attachment from the posted notice, with no possibility to get multiple attachments. If one fetches metadata about attachments for the notice, we have enough data there to fulfill anyone's fetching dreams.
This commit is contained in:
@@ -237,10 +237,6 @@ class Router
|
||||
|
||||
$m->connect('notice/new', array('action' => 'newnotice'));
|
||||
|
||||
$m->connect('notice/:notice/file',
|
||||
array('action' => 'file'),
|
||||
array('notice' => '[0-9]+'));
|
||||
|
||||
$m->connect('notice/:notice',
|
||||
array('action' => 'shownotice'),
|
||||
array('notice' => '[0-9]+'));
|
||||
|
Reference in New Issue
Block a user