function tripal_views_admin_enable_view

2.x tripal_views.DEPRECATED.inc tripal_views_admin_enable_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_enable_view().

See also

tripal_enable_view().

File

tripal_views/api/tripal_views.DEPRECATED.inc, line 14
Wrapper functions to provide backwards compatibility for the tripal analysis api

Code

function tripal_views_admin_enable_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_enable_view',
    '%new_function' => 'tripal_enable_view'
  )
  );

  return tripal_enable_view($view_name, $redirect_link);
}