. */ if (!function_exists('insert_custom_cform')) { /** * @deprecated since version 14.14 */ function insert_custom_cform($customfields = array(), $no = '') { trigger_error('You should switch from using insert_custom_cform function to insert_cform.', E_USER_DEPRECATED); insert_cform($no, $customfields); } } if (!function_exists('cf_extra_comment_data')) { /** * @deprecated since version 14.11.3 */ function cf_extra_comment_data() { trigger_error('cf_extra_comment_data is useless', E_USER_DEPRECATED); } } if (!function_exists('is_tellafriend')) { /** * @deprecated since version 14.12 */ function is_tellafriend() { trigger_error('is_tellafriend is useless', E_USER_DEPRECATED); } } /** * If one of the deprecated functions of the old my-functions API is declared, the user is warned. */ function cforms2_warn_on_existing_my_functions() { if (function_exists('my_cforms_action')) { trigger_error('my_cforms_action is useless since cformsII version 14.14.', E_USER_DEPRECATED); } if (function_exists('my_cforms_filter')) { trigger_error('my_cforms_filter is useless since cformsII version 14.14.', E_USER_DEPRECATED); } if (function_exists('my_cforms_ajax_filter')) { trigger_error('my_cforms_ajax_filter is useless since cformsII version 14.14.', E_USER_DEPRECATED); } if (function_exists('my_cforms_logic')) { trigger_error('my_cforms_logic is useless since cformsII version 14.14', E_USER_DEPRECATED); } }