X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Frouter.php;h=f253dd56a59c3a8b7253f476bfa4060327d44d65;hb=996345088e8d57cf39fa38129ab50ff02918a275;hp=19fb697a1c2a946f34ae31086fb0d41ef240097e;hpb=368cf7b16af2679af97c0202f61e5d73335c6cc9;p=quix0rs-gnu-social.git diff --git a/lib/router.php b/lib/router.php index 19fb697a1c..f253dd56a5 100644 --- a/lib/router.php +++ b/lib/router.php @@ -249,12 +249,6 @@ class Router array('action' => 'conversation'), array('id' => '[0-9]+')); - $m->connect('message/new', array('action' => 'newmessage')); - $m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => Nickname::DISPLAY_FMT)); - $m->connect('message/:message', - array('action' => 'showmessage'), - array('message' => '[0-9]+')); - $m->connect('user/:id', array('action' => 'userbyid'), array('id' => '[0-9]+')); @@ -507,21 +501,6 @@ class Router 'screen_name' => Nickname::DISPLAY_FMT, 'format' => '(xml|json)')); - // direct messages - - $m->connect('api/direct_messages.:format', - array('action' => 'ApiDirectMessage', - 'format' => '(xml|json|rss|atom)')); - - $m->connect('api/direct_messages/sent.:format', - array('action' => 'ApiDirectMessage', - 'format' => '(xml|json|rss|atom)', - 'sent' => true)); - - $m->connect('api/direct_messages/new.:format', - array('action' => 'ApiDirectMessageNew', - 'format' => '(xml|json)')); - // friendships $m->connect('api/friendships/show.:format',