Updated PHP to preferred "elseif" single statement

This commit is contained in:
bergware
2016-10-29 09:31:42 +02:00
parent 951abbc9ba
commit 429ec85b18
@@ -245,7 +245,7 @@ function plugin($method, $plugin_file, &$error) {
// skip if not our $method
if (isset($file->attributes()->Method)) {
if (!in_array($method, explode(" ", $file->attributes()->Method))) continue;
} else if ($method != "install") continue;
} elseif ($method != "install") continue;
$name = $file->attributes()->Name;
// bergware - check unRAID version dependency (if present)
$min = $file->attributes()->Min;