Ejemplo n.º 1
0
/**
 * Submit handler for the ToS modal: update values in the database
 * By storing 'true' for shareaholic_has_accepted_tos
 * and get or create an api key if it does not already exists
 *
 */
function shareaholic_tos_modal_form_submit($form, &$form_state)
{
    ShareaholicUtilities::accept_terms_of_service();
    ShareaholicUtilities::get_or_create_api_key();
}