summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-11 21:15:42 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-11 21:15:42 -0400
commit7eda7295e47688fd582338ef6c83e6b6267f202f (patch)
tree8e5a0b004889c6a1b5c80ce7d4b8520fe598c341 /lib
parent4f751563c76bcea37fdf3e0623a037670476077b (diff)
oEmbed provider does not use the twitter api library classes any more
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/router.php b/lib/router.php
index f03cfcf6d..04c6dd414 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -117,15 +117,8 @@ class Router
$m->connect('main/tagother/:id', array('action' => 'tagother'));
- $m->connect('main/oembed.xml',
- array('action' => 'api',
- 'method' => 'oembed.xml',
- 'apiaction' => 'oembed'));
-
- $m->connect('main/oembed.json',
- array('action' => 'api',
- 'method' => 'oembed.json',
- 'apiaction' => 'oembed'));
+ $m->connect('main/oembed',
+ array('action' => 'oembed'));
// these take a code