You are here

function uc_file_feature_delete in Ubercart 5

Same name and namespace in other branches
  1. 8.4 uc_file/uc_file.module \uc_file_feature_delete()
  2. 6.2 uc_file/uc_file.module \uc_file_feature_delete()
  3. 7.3 uc_file/uc_file.module \uc_file_feature_delete()

product_feature delete function

1 string reference to 'uc_file_feature_delete'
uc_file_product_feature in uc_file/uc_file.module
Implementation of hook_product_feature().

File

uc_file/uc_file.module, line 330
Allows products to be associated with downloadable files.

Code

function uc_file_feature_delete($feature) {
  db_query("DELETE FROM {uc_file_products} WHERE pfid = %d", $feature['pfid']);
}