Commit dcabfa64 authored by Franco Fichtner's avatar Franco Fichtner

inc/util: remove an unused function

parent 5ce3abb5
......@@ -1441,22 +1441,6 @@ function safe_mkdir($path, $mode=0755) {
}
}
/*
* make_dirs($path, $mode = 0755)
* create directory tree recursively (mkdir -p)
*/
function make_dirs($path, $mode = 0755) {
$base = '';
foreach (explode('/', $path) as $dir) {
$base .= "/$dir";
if (!is_dir($base)) {
if (!@mkdir($base, $mode))
return false;
}
}
return true;
}
/*
* get_sysctl($names)
* Get values of sysctl OID's listed in $names (accepts an array or a single
......@@ -1940,5 +1924,3 @@ function post_redirect($page, $params) {
print "</form><script type=\"text/javascript\">document.formredir.submit();</script>\n";
print "</body></html>\n";
}
?>
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