PSR-2 Final cleanup (#4247)

refactor: Final PSR2 cleanup
This commit is contained in:
Tony Murray
2016-08-28 17:32:55 -05:00
committed by Neil Lathwood
parent aadd627863
commit abc6a5b799
41 changed files with 1339 additions and 1397 deletions

View File

@@ -28,16 +28,13 @@ if ($argv[1] && $argv[2]) {
$toid = getidbyname($tohost);
if ($toid) {
echo "NOT renamed. New hostname $tohost already exists.\n";
}
else {
} else {
renamehost($id, $tohost, 'console');
echo "Renamed $host\n";
}
}
else {
} else {
echo "Host doesn't exist!\n";
}
}
else {
} else {
echo "Host Rename Tool\nUsage: ./renamehost.php <old hostname> <new hostname>\n";
}