You are here

function bynder_update_7100 in Bynder 7

Syncing old Bynder module media to new format.

File

./bynder.install, line 136
Install, update and uninstall functions for the Media: Bynder module.

Code

function bynder_update_7100() {
  composer_manager_register_autoloader();

  // Run Bynder file sync
  try {
    sync_old_bynder_media(true);
  } catch (Exception $e) {
    watchdog('bynder', $e
      ->getMessage());
  }
}