web/hanna-arendt/client.php
changeset 842 44b97c5679c0
parent 841 bf648f325dc4
child 843 8fdc4132761e
--- a/web/hanna-arendt/client.php	Mon Apr 15 12:48:58 2013 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-<?php
-
-$config = array("rep" => basename(__DIR__));
-
-include_once '../common.php';
-
-if (isset($_SESSION['TWITTER_ACCESS_TOKEN']) ) {
-	// Permanent redirection
-	header("HTTP/1.1 301 Moved Permanently");
-	header("Location: index.php");
-	exit();
-} else {
-	    /**
-     * Guess we need to go get one!
-     */
-    $token = $consumer->getRequestToken();
-    $_SESSION['TWITTER_REQUEST_TOKEN'] = serialize($token);
-
-    /**
-     * Now redirect user to Twitter site so they can log in and
-     * approve our access
-     */
-    $consumer->redirect();
-}
-
-?>
\ No newline at end of file