You are here

function bynder_update_8002 in Bynder 8.2

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

Remove unecessary database table.

File

./bynder.install, line 97
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');
  }
}