function video_uninstall in Video 6.4
Same name and namespace in other branches
- 5 video.install \video_uninstall()
- 6.5 video.install \video_uninstall()
- 6 video.install \video_uninstall()
- 6.2 video.install \video_uninstall()
- 6.3 video.install \video_uninstall()
- 7.2 video.install \video_uninstall()
- 7 video.install \video_uninstall()
Implementation of hook_uninstall().
File
- ./
video.install, line 90 - Provides installation functions for video.module.
Code
function video_uninstall() {
drupal_uninstall_schema('video');
// Delete all variables that begin with the namespaced "video_*"
$result = db_query('SELECT name FROM {variable} WHERE name LIKE "video_%%"');
while ($var = db_fetch_array($result)) {
variable_del($var['name']);
}
variable_del('vid_filesystem');
variable_del('vid_convertor');
variable_del('vid_metadata');
variable_del('vid_preset');
}