$row['check_key'], 'enabled' => $enabled_value ) ); $updated_data_count += 1; array_push($page['infos'], sprintf($msg_info, $row['username'], $row['mail_address'])); } mass_updates( USER_MAIL_NOTIFICATION_TABLE, array( 'primary' => array('check_key'), 'update' => array('enabled') ), $updates ); } } array_push($page['infos'], sprintf(l10n('nbm_user_change_enabled_updated_data_count'), $updated_data_count)); return $updated_data_count; } /* * Unsubscribe notification by mail * * check_key list where action will be done * * @return updated data count */ function unsubcribe_notification_by_mail($check_key_list = array()) { return do_subscribe_unsubcribe_notification_by_mail(false, $check_key_list); } /* * Subscribe notification by mail * * check_key list where action will be done * * @return updated data count */ function subcribe_notification_by_mail($check_key_list = array()) { return do_subscribe_unsubcribe_notification_by_mail(true, $check_key_list); } ?>