shaver%mozilla.org cd1a866af7 Skin and tweak logout, just for the heck of it.
git-svn-id: svn://10.0.0.236/trunk@214055 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-24 09:18:15 +00:00

26 lines
421 B
PHP

<?php
/**
* This will delete a session if the user has one.
*
* @package amo
* @subpackage docs
*
*/
startProcessing('logout.tpl', null, null, 'rustico');
require_once 'includes.php';
session_start();
$_auth->removeUsernameCookie();
session_destroy();
// Assign template variables.
$tpl->assign(
array( 'title' => 'Firefox Add-ons',
'currentTab' => null
)
);
?>