mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 01:40:58 -05:00
Replace array() notation with PHP preferred square brackets []
This commit is contained in:
@@ -208,7 +208,7 @@ function logger($message) {
|
||||
//
|
||||
function plugin($method, $plugin_file, &$error) {
|
||||
global $unraid;
|
||||
$methods = array("install", "remove");
|
||||
$methods = ["install", "remove"];
|
||||
|
||||
// parse plugin definition XML file
|
||||
$xml = simplexml_load_file($plugin_file, NULL, LIBXML_NOCDATA);
|
||||
|
||||
Reference in New Issue
Block a user