Commit da593680 authored by anarcat's avatar anarcat Committed by anarcat

remove useless ?:

parent 69811230
......@@ -514,7 +514,7 @@ function provision_check_path($path, $type, $test = true, $succeed_message = '',
case "rmdir" : $value = (file_exists($path) && is_dir($path)) ? rmdir($path) : false;
break;
}
$status = ($value == $test) ? true : false;
$status = ($value == $test);
if ($status) {
if ($succeed_message) {
provision_log("message", $succeed_message);
......
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