web/clear.php
changeset 1557 7c67caaafdeb
parent 233 10d6fd6ce9ab
equal deleted inserted replaced
1556:5f9b76ecccf0 1557:7c67caaafdeb
    14 
    14 
    15 
    15 
    16 /**
    16 /**
    17  * Clear the Access Token to force the OAuth protocol to rerun
    17  * Clear the Access Token to force the OAuth protocol to rerun
    18  */
    18  */
    19 $_SESSION['TWITTER_ACCESS_TOKEN'] = null;
    19 $_SESSION['SOCIAL_ACCESS_TOKEN'] = null;
    20 
    20 
    21 /**
    21 /**
    22  * Redirect back to index and the protocol legs should run once again
    22  * Redirect back to index and the protocol legs should run once again
    23  */
    23  */
    24 header('Location: ' . URL_ROOT . "$rep/client.php");
    24 header('Location: ' . URL_ROOT . "$rep/client.php");