diff --git a/actions/userauthorization.php b/actions/userauthorization.php index f1f2d83056..3c48428bc5 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -305,7 +305,7 @@ class UserauthorizationAction extends Action { $_SESSION['userauthorizationrequest'] = $req; } - function clear_request($req) { + function clear_request() { common_ensure_session(); unset($_SESSION['userauthorizationrequest']); }