aboutsummaryrefslogtreecommitdiff
path: root/lib/phpFlickr/auth.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-10 07:06:54 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-10 07:06:54 -0500
commit30fe751219cd087eabcd0c880015c2d71f8186e1 (patch)
treee066ece9baa5f001c051e2bb405c573aa7e25db2 /lib/phpFlickr/auth.php
parentb46b9b1464249916d105ee46f0bdb7972863070d (diff)
downloadelgg-30fe751219cd087eabcd0c880015c2d71f8186e1.tar.gz
elgg-30fe751219cd087eabcd0c880015c2d71f8186e1.tar.bz2
removed flickr integration
Diffstat (limited to 'lib/phpFlickr/auth.php')
-rw-r--r--lib/phpFlickr/auth.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/phpFlickr/auth.php b/lib/phpFlickr/auth.php
deleted file mode 100644
index d272d49bf..000000000
--- a/lib/phpFlickr/auth.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
- /* Last updated with phpFlickr 1.3.1
- *
- * Edit these variables to reflect the values you need. $default_redirect
- * and $permissions are only important if you are linking here instead of
- * using phpFlickr::auth() from another page or if you set the remember_uri
- * argument to false.
- */
- $api_key = "26b2abba37182aca62fe0eb2c7782050";
- $api_secret = "475e45cc580334da";
- $default_redirect = "/";
- $permissions = "read";
- $path_to_phpFlickr_class = "./";
-
- ob_start();
- require_once($path_to_phpFlickr_class . "phpFlickr.php");
- unset($_SESSION['phpFlickr_auth_token']);
-
- if (!empty($_GET['extra'])) {
- $redirect = $_GET['extra'];
- }
-
- $f = new phpFlickr($api_key, $api_secret);
-
- if (empty($_GET['frob'])) {
- $f->auth($permissions, false);
- } else {
- $f->auth_getToken($_GET['frob']);
- }
-
- if (empty($redirect)) {
- header("Location: " . $default_redirect);
- } else {
- header("Location: " . $redirect);
- }
-
-?> \ No newline at end of file