You are here

function getid3_update_7202 in getID3() 7.2

Moves getID3 metadata information into File Entity.

File

./getid3.install, line 130
Install, update and uninstall functions for the getid3 module.

Code

function getid3_update_7202(&$sandbox) {

  // Drop the old table, if created (was created in 7.x-1.x after 7101 update.)
  if (db_table_exists('getid3_meta')) {
    db_drop_table('getid3_meta');
  }

  // Process the existing file entities.
  getid3_analyze_existing_files($sandbox);
}