You are here

function bynder_update_8002 in Bynder 8.3

Same name and namespace in other branches
  1. 8 bynder.install \bynder_update_8002()
  2. 8.2 bynder.install \bynder_update_8002()
  3. 4.0.x bynder.install \bynder_update_8002()

Remove unecessary database table.

File

./bynder.install, line 74
Install, uninstall and update hooks for Bynder module.

Code

function bynder_update_8002() {
  $database = \Drupal::database();
  if ($database
    ->tableExists('bynder_metaproperty_information')) {
    $database
      ->dropTable('bynder_metaproperty_information');
  }
}