@Disha is correct, the correct way to do it would be via variable_del(). The ...

Contribution Date
Technology
Contribution Project
Contribution Details

@Disha is correct, the correct way to do it would be via variable_del(). The API does more than just a delete query.

function variable_del($name) { global $conf; db_delete('variable') ->condition('name', $name) ->execute(); cache_clear_all('variables', 'cache_bootstrap'); unset($conf[$name]); }
Contribution Author
Files count
0
Patches count
0