function spaces_preset_delete in Spaces 6.2
Same name and namespace in other branches
- 5.2 spaces_admin.inc \spaces_preset_delete()
- 6.3 spaces.module \spaces_preset_delete()
- 6 spaces_admin.inc \spaces_preset_delete()
- 7.3 spaces.module \spaces_preset_delete()
- 7 spaces.module \spaces_preset_delete()
2 calls to spaces_preset_delete()
- spaces_features_revert in ./
spaces.features.inc - Implementation of hook_spaces_features_revert().
- spaces_preset_delete_form_submit in ./
spaces_admin.inc
File
- ./
spaces_admin.inc, line 348
Code
function spaces_preset_delete($type, $preset) {
$success = db_query("DELETE FROM {spaces_presets} WHERE type = '%s' AND id = '%s'", $type, $preset);
return $success;
}