From: Zach Copley Date: Mon, 2 Nov 2009 00:32:45 +0000 (-0800) Subject: Remove stale references to old apiaction parameter X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4abbf440682050c27ba76c3b1de19d5134ab99f7;p=quix0rs-gnu-social.git Remove stale references to old apiaction parameter --- diff --git a/lib/router.php b/lib/router.php index 64853e4198..888cbdd20c 100644 --- a/lib/router.php +++ b/lib/router.php @@ -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',