Commit 6ef4875e authored by Dries's avatar Dries

- Rollback of last patch.

parent 77423ed4
......@@ -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]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment