Use short form array syntax everywhere

- Add short form array syntax to po2php.php generation
This commit is contained in:
Hypolite Petovan
2018-01-15 08:05:12 -05:00
parent 77dfbaa0bf
commit e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions

View File

@@ -88,7 +88,7 @@ function update_1191() {
if (plugin_enabled('forumlist')) {
$plugin = 'forumlist';
$plugins = Config::get('system','addon');
$plugins_arr = array();
$plugins_arr = [];
if ($plugins) {
$plugins_arr = explode(",",str_replace(" ", "",$plugins));