From 6ef4875e8702725c58d309bab0bebdcb2dcf5482 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 23 May 2009 19:21:30 +0000 Subject: - Rollback of last patch. --- includes/bootstrap.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index f0b588913..590f1ba35 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -661,12 +661,14 @@ function variable_set($name, $value) { * The name of the variable to undefine. */ function variable_del($name) { + global $conf; + db_delete('variable') ->condition('name', $name) ->execute(); cache_clear_all('variables', 'cache'); - unset($GLOBALS['conf'][$name]); + unset($conf[$name]); } -- cgit v1.2.3