mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 10:08:25 -05:00
Updated PHP to preferred "elseif" single statement
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user