Replace array() notation with PHP preferred square brackets []

This commit is contained in:
bergware
2016-10-24 09:45:25 +02:00
parent f752ee65b9
commit c60efc66ba
@@ -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);