Replaced else { if ()...} with elseif() {}

This commit is contained in:
Marc Philip Scholten 2013-12-17 18:44:37 +01:00
parent 699ac0b0e9
commit b0de383f95
1 changed files with 2 additions and 4 deletions

View File

@ -974,10 +974,8 @@ class Net_SSH2
if (extension_loaded('gmp')) {
$ext[] = 'gmp';
} else {
if (extension_loaded('bcmath')) {
$ext[] = 'bcmath';
}
} elseif (extension_loaded('bcmath')) {
$ext[] = 'bcmath';
}
if (!empty($ext)) {