function sp_admin_bar_do_deactivate() { global $spGlobals; # remove the auth sp_deactivate_auth('bypass_akismet'); # remove our auto update stuff $up = sp_get_sfmeta('autoupdate', 'admin'); if ($up) { sp_delete_sfmeta($up[0]['meta_id']); } }
function sp_captcha_do_deactivate() { sp_deactivate_auth('bypass_captcha'); }