diff options
author | cash <cash.costello@gmail.com> | 2013-04-14 21:06:36 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-04-14 21:06:36 -0400 |
commit | 9c3d423d87fe5f287a48158df105364b6eb36de0 (patch) | |
tree | 90f418db1bb2387157070c84b03af9c8cbcc5319 /mod/oauth_api/vendors/oauth/example/server/www/register.php | |
parent | 53c0783cdf59d7320233b79b7bb2b019bdfbd33a (diff) | |
download | elgg-9c3d423d87fe5f287a48158df105364b6eb36de0.tar.gz elgg-9c3d423d87fe5f287a48158df105364b6eb36de0.tar.bz2 |
removes oauth plugin as twitter_api does not depend on it anymore
Diffstat (limited to 'mod/oauth_api/vendors/oauth/example/server/www/register.php')
-rw-r--r-- | mod/oauth_api/vendors/oauth/example/server/www/register.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/mod/oauth_api/vendors/oauth/example/server/www/register.php b/mod/oauth_api/vendors/oauth/example/server/www/register.php deleted file mode 100644 index c5785c2c8..000000000 --- a/mod/oauth_api/vendors/oauth/example/server/www/register.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php - -require_once '../core/init.php'; - -assert_logged_in(); - -if ($_SERVER['REQUEST_METHOD'] == 'POST') -{ - try - { - $store = OAuthStore::instance(); - $key = $store->updateConsumer($_POST, 1, true); - - $c = $store->getConsumer($key); - echo 'Your consumer key is: <strong>' . $c['consumer_key'] . '</strong><br />'; - echo 'Your consumer secret is: <strong>' . $c['consumer_secret'] . '</strong><br />'; - } - catch (OAuthException $e) - { - echo '<strong>Error: ' . $e->getMessage() . '</strong><br />'; - } -} - - -$smarty = session_smarty(); -$smarty->display('register.tpl'); - -?>
\ No newline at end of file |