Update config.class.php

Sort plugin list for display by Configuration Manager
This commit is contained in:
Scott Marshall 2019-09-21 19:14:45 +10:00 committed by GitHub
parent a8de1fbf22
commit b15f23f673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ if (!class_exists('configuration')) {
// remove this plugin from the list
$idx = array_search('config',$list);
unset($list[$idx]);
sort($list); // Sort plugin list alphabetically for display
trigger_event('PLUGIN_CONFIG_PLUGINLIST',$list);
$this->_plugin_list = $list;