summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-01 16:32:45 -0800
committerZach Copley <zach@status.net>2009-11-01 16:32:45 -0800
commit4abbf440682050c27ba76c3b1de19d5134ab99f7 (patch)
tree12af4720294ec4d2aaec4ad3089fec84b89e99fa
parent01dd745a9c7c370026a52a412525dd0daf6b441a (diff)
Remove stale references to old apiaction parameter
-rw-r--r--lib/router.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/router.php b/lib/router.php
index 64853e419..888cbdd20 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',