function uc_file_uninstall in Ubercart 8.4
Same name and namespace in other branches
- 5 uc_file/uc_file.install \uc_file_uninstall()
- 6.2 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 228 - Install, update and uninstall functions for the uc_file module.
Code
function uc_file_uninstall() {
$connection = \Drupal::database();
$connection
->delete('uc_product_features')
->condition('fid', 'file')
->execute();
}