function uc_file_uninstall in Ubercart 7.3
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()
- 6.2 uc_file/uc_file.install \uc_file_uninstall()
Implements hook_uninstall().
File
- uc_file/
uc_file.install, line 228 - Install, update and uninstall functions for the uc_file module.
Code
function uc_file_uninstall() {
db_delete('uc_product_features')
->condition('fid', 'file')
->execute();
db_delete('variable')
->condition('name', 'uc_file_%', 'LIKE')
->execute();
}