function media_youtube_variable_del in Media: YouTube 6
Same name and namespace in other branches
- 7 includes/media_youtube.variables.inc \media_youtube_variable_del()
Wrapper for variable_del() that uses the Media: YouTube variable registry.
Parameters
string $name: The variable name to delete. Note that it will be namespaced by pre-pending MEDIA_YOUTUBE_NAMESPACE, as to avoid variable collisions with other modules.
See also
media_youtube_variable_default()
1 call to media_youtube_variable_del()
- media_youtube_uninstall in ./
media_youtube.install - Implementation of hook_uninstall().
File
- includes/
media_youtube.variables.inc, line 115 - Contains the variables and defaults used by Media: YouTube.
Code
function media_youtube_variable_del($name) {
$variable_name = MEDIA_YOUTUBE_NAMESPACE . $name;
variable_del($variable_name);
}