diff -r bf648f325dc4 -r 44b97c5679c0 web/hanna-arendt/client.php --- 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 @@ - 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