web/rsln/clear.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 31 Jan 2011 11:46:46 +0100
changeset 36 e7522e5f68dc
parent 20 7e0a67a20e74
child 68 ecaf28ffe26e
permissions -rw-r--r--
Added tag V00.06 for changeset 62f81e429e50

<?php

/**
 * include some common code (like we did in the 90s)
 * People still do this? ;)
 */
include_once './common.php';

/**
 * Clear the Access Token to force the OAuth protocol to rerun
 */
$_SESSION['TWITTER_ACCESS_TOKEN'] = null;

/**
 * Redirect back to index and the protocol legs should run once again
 */
header('Location: ' . URL_ROOT . '/index.php');