function tvi_remove_settings in Taxonomy Views Integrator 6
Same name and namespace in other branches
- 7 includes/tvi.query.inc \tvi_remove_settings()
Removes a specific settings entry from the database.
Parameters
$xid The object ID:
$type The object type (TVI_TYPE_TERM or TVI_TYPE_VOCAB):
Return value
The database query resource
1 call to tvi_remove_settings()
- tvi_taxonomy in ./
tvi.module - Implements hook_taxonomy().
File
- includes/
tvi.query.inc, line 62 - TVI Database Interface
Code
function tvi_remove_settings($xid, $type = TVI_TYPE_TERM) {
return db_query("DELETE FROM {tvi_settings} WHERE type = '%s' AND xid = %d", $type, $xid);
}