You are here

function lightning_media_update_8007 in Lightning Media 8

Same name and namespace in other branches
  1. 8.4 lightning_media.install \lightning_media_update_8007()
  2. 8.2 lightning_media.install \lightning_media_update_8007()
  3. 8.3 lightning_media.install \lightning_media_update_8007()

Deletes the media_library view.

File

./lightning_media.install, line 125
Contains install and update routines for Lightning Media.

Code

function lightning_media_update_8007() {
  $view = View::load('media_library');
  if ($view) {
    $view
      ->delete();
  }
}