function lightning_media_update_8007 in Lightning Media 8.2
Same name and namespace in other branches
- 8.4 lightning_media.install \lightning_media_update_8007()
- 8 lightning_media.install \lightning_media_update_8007()
- 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();
}
}