function variable_delete

7.x db.inc variable_delete($name)
6.x db.inc variable_delete($name)

Remove a variable entirely from the table

File

includes/db.inc, line 987
This file contains mostly db shortcuts.

Code

function variable_delete($name) {
  unset($GLOBALS ["fp_system_settings"][$name]);
  db_query("DELETE FROM variables WHERE name = ?", $name);
}