function uc_file_uninstall in Ubercart 6.2
Same name and namespace in other branches
- 8.4 uc_file/uc_file.install \uc_file_uninstall()
- 5 uc_file/uc_file.install \uc_file_uninstall()
- 7.3 uc_file/uc_file.install \uc_file_uninstall()
Implements hook_uninstall().
File
- uc_file/
uc_file.install, line 211 - Install, update and uninstall functions for the uc_file module.
Code
function uc_file_uninstall() {
drupal_uninstall_schema('uc_file');
db_query("DELETE FROM {uc_product_features} WHERE fid = 'file'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_file_%%'");
}