You are here

function mediafront_update_6005 in MediaFront 6.2

Same name and namespace in other branches
  1. 6 mediafront.install \mediafront_update_6005()

This update will remove the now unnecessary mediafront_imagecache table, which was replaced with the mediafront_filefield table.

File

./mediafront.install, line 347

Code

function mediafront_update_6005() {
  $update = array();
  if (db_table_exists('mediafront_imagecache')) {
    db_drop_table($update, 'mediafront_imagecache');
  }
  return $update;
}