Seems I got the only remaining instance of set_default(),

so it's time to draw the curtains.
This commit is contained in:
defacer
2006-01-15 01:52:07 +00:00
parent 249daa5d3c
commit 85e0be2aaa
-12
View File
@@ -546,18 +546,6 @@ function optional_variable(&$var, $default=0) {
}
/**
* HACK ALERT! Do not use this function, it will be removed soon!!
* @todo Remove this function soon!
*/
function set_default( &$var, $default ) {
if (empty($var)) {
$var = $default;
return true;
}
return false;
}
/**
* Set a key in global configuration
*