function media_variable_del in D7 Media 7
Wrapper for variable_del() that uses the Media variable registry.
Parameters
string $name: The variable name to delete. Note that it will be namespaced by pre-pending MEDIA_VARIABLE_NAMESPACE, as to avoid variable collisions with other modules.
@see media_variable_get() @see media_variable_set() @see media_variable_default()
4 calls to media_variable_del()
- media_admin_config_browser_pre_submit in includes/
media.admin.inc - media_admin_rebuild_types_batch_complete in includes/
media.admin.inc - Sets a message informing the user how many file records were updated.
- media_admin_rebuild_types_form in includes/
media.admin.inc - Confirmation form for rebuliding the file_managed table to include type in rows where there is no type.
- media_uninstall in ./
media.install - Implements hook_uninstall().
File
- includes/
media.variables.inc, line 86 - Contains the variables used by media and their defaults.
Code
function media_variable_del($name) {
$variable_name = MEDIA_VARIABLE_NAMESPACE . $name;
variable_del($variable_name);
}