You are here

function node_gallery_update_7005 in Node Gallery 7

Drop the old database tables.

File

./node_gallery.install, line 402
Install, update and uninstall functions for the node_gallery module.

Code

function node_gallery_update_7005(&$sandbox) {
  if (db_table_exists('node_gallery_galleries_d6')) {
    db_drop_table('node_gallery_galleries_d6');
    db_drop_table('node_gallery_images_d6');
    db_drop_table('node_gallery_relationships_d6');
  }
}