function views_ui_convert1
Page callback for the tools - Views 1 convert page
1 string reference to 'views_ui_convert1'
File
-
includes/
convert.inc, line 125
Code
function views_ui_convert1($name) {
$old = views1_load($name);
if (!$old) {
return t('Unable to find view.');
}
$view = views1_import($old);
if ($view) {
views_ui_cache_set($view);
drupal_goto('admin/build/views/edit/' . $view->name);
}
else {
return t('Unable to convert view.');
}
}