clear request doesn't need an argument

darcs-hash:20080605025611-84dde-18fcf515bb9c727cafd3ca44454e7f18d8f8e752.gz
This commit is contained in:
Evan Prodromou 2008-06-04 22:56:11 -04:00
parent 2bf7717ddd
commit 1254761770

View File

@ -305,7 +305,7 @@ class UserauthorizationAction extends Action {
$_SESSION['userauthorizationrequest'] = $req;
}
function clear_request($req) {
function clear_request() {
common_ensure_session();
unset($_SESSION['userauthorizationrequest']);
}