function views_slideshow_update_2 in Views Slideshow 6.2
Same name and namespace in other branches
- 5 views_slideshow.install \views_slideshow_update_2()
- 6 views_slideshow.install \views_slideshow_update_2()
File
- ./
views_slideshow.install, line 26 - Install, update and uninstall functions for the views slideshow module.
Code
function views_slideshow_update_2() {
$ret = array();
$ret[] = update_sql("UPDATE {views_view} SET block_type='slideshow_list' WHERE block_type='views_slideshow_list'");
$ret[] = update_sql("UPDATE {views_view} SET block_type='slideshow_teaser' WHERE block_type='views_slideshow_teaser'");
$ret[] = update_sql("UPDATE {views_view} SET block_type='slideshow_node' WHERE block_type='views_slideshow_node'");
$ret[] = update_sql("UPDATE {views_view} SET page_type='slideshow_list' WHERE page_type='views_slideshow_list'");
$ret[] = update_sql("UPDATE {views_view} SET page_type='slideshow_teaser' WHERE page_type='views_slideshow_teaser'");
$ret[] = update_sql("UPDATE {views_view} SET page_type='slideshow_node' WHERE page_type='views_slideshow_node'");
_views_slideshow_update_reset_cache();
return $ret;
}