]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove stale references to old apiaction parameter
authorZach Copley <zach@status.net>
Mon, 2 Nov 2009 00:32:45 +0000 (16:32 -0800)
committerZach Copley <zach@status.net>
Mon, 2 Nov 2009 00:32:45 +0000 (16:32 -0800)
lib/router.php

index 64853e4198ac720bf2a4c3d6340e3055755ba173..888cbdd20cf55c2b901a9a9f68a467d0a71a0ac7 100644 (file)
@@ -360,11 +360,6 @@ class Router
                               'id' => '[a-zA-Z0-9]+',
                               'format' => '(xml|json)'));
 
-            $m->connect('api/users/:method',
-                        array('action' => 'api',
-                              'apiaction' => 'users'),
-                        array('method' => 'show(\.(xml|json))?'));
-
             // direct messages
 
             $m->connect('api/direct_messages.:format',
@@ -459,13 +454,6 @@ class Router
                         array('action' => 'ApiFavoriteDestroy',
                               'id' => '[a-zA-Z0-9]+',
                               'format' => '(xml|json)'));
-
-            // notifications
-
-            $m->connect('api/notifications/:method/:argument',
-                        array('action' => 'api',
-                              'apiaction' => 'favorites'));
-
             // blocks
 
             $m->connect('api/blocks/create/:id.:format',