You are here

function nivo_slider_update_7000 in Nivo Slider 7

Image previews are now generated using image styles. Delete the old banner thumbnails.

File

./nivo_slider.install, line 63
Install, update and uninstall functions for the Nivo Slider module.

Code

function nivo_slider_update_7000() {
  $banner_thumb_folder = 'public://banner/thumb/';
  file_unmanaged_delete_recursive($banner_thumb_folder);
  return t('Deleted the old banner thumbnails.');
}