1 update.inc | update_variable_del($name) |
Delete a variable from the database during update hooks.
Use this during the upgrade path instead of variable_del().
Parameters
string $name: The name of the variable to delete.
File
- core/
includes/ update.inc, line 507 - Backdrop site update API.
Code
function update_variable_del($name) {
db_delete('variable')
->condition('name', $name)
->execute();
}