function tripal_views_admin_disable_view
2.x tripal_views.DEPRECATED.inc | tripal_views_admin_disable_view($view_name, $redirect_link) |
Deprecated
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_disable_view().
See also
File
- tripal_views/
api/ tripal_views.DEPRECATED.inc, line 36 - Wrapper functions to provide backwards compatibility for the tripal analysis api
Code
function tripal_views_admin_disable_view($view_name, $redirect_link) {
tripal_report_error(
'tripal_deprecated',
TRIPAL_NOTICE,
"DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
array(
'%old_function' => 'tripal_views_admin_disable_view',
'%new_function' => 'tripal_disable_view'
)
);
return tripal_disable_view($view_name, $redirect_link);
}