Remove all unneeded if($debug)-statements and replace them with d_echo

This commit is contained in:
Mark Schouten
2015-08-20 15:02:40 +02:00
parent e0edeab13f
commit 55a2e0423d
24 changed files with 47 additions and 142 deletions

View File

@@ -77,9 +77,7 @@ if ($device['os'] == 'netscaler') {
print_r($vsvr);
}
if ($debug) {
print_r($vsvrs);
}
d_echo($vsvrs);
foreach ($vsvr_array as $index => $vsvr) {
if (isset($vsvr['vsvrName'])) {
@@ -129,9 +127,7 @@ if ($device['os'] == 'netscaler') {
}//end if
}//end foreach
if ($debug) {
print_r($vsvr_exist);
}
d_echo($vsvr_exist);
foreach ($vsvrs as $db_name => $db_id) {
if (!$vsvr_exist[$db_name]) {