function clearIndicators() { global $wgOut, $tplt; awcsforum_funcs::clear_session(); awcsforum_funcs::clear_awcsforum_cookie(); awcsforum_funcs::set_session(wfTimestampNow()); awcsforum_funcs::get_page_lang(array('lang_txt_redirects')); // get lang difinitions... $tplt->add_tplts(array("'redirect'"), true); $info['msg'] = 'clearIndicators'; $info['url'] = $_SERVER['HTTP_REFERER']; return awcf_redirect($info); // member_options/clearIndicators // $wgOut->redirect( $_SERVER['HTTP_REFERER']); }