emaudio.install in Embedded Media Field 5
Same filename and directory in other branches
File
contrib/emaudio/emaudio.installView source
<?php
/**
* Implementation of hook_install().
*/
function emaudio_install() {
}
function emaudio_update_1() {
$ret = _emaudio_update_reset_cache_views();
return $ret;
}
// I'd like this to be conditional, so it only runs if they don't have views installed.
// however, module_exists doesn't actually work in the update scripts.
function _emaudio_update_reset_cache_views() {
$ret = array();
$ret[] = update_sql("DELETE FROM {cache_views}");
return $ret;
}
Functions
Name | Description |
---|---|
emaudio_install | Implementation of hook_install(). |
emaudio_update_1 | |
_emaudio_update_reset_cache_views |