summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-08-03 19:17:13 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-08-03 19:17:23 +0200
commit65baa033e067483d5bcd57294aafab413b4cda2c (patch)
treee4f12792c27eff147593159049ef26d66be0de51 /program/steps/settings
parentef5a1c66aa269cbfbb93070fa3017ee87174f696 (diff)
List all plugins which have been attempted to load (#1488871)
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/about.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/settings/about.inc b/program/steps/settings/about.inc
index 026bfc1a2..73d0b0f0d 100644
--- a/program/steps/settings/about.inc
+++ b/program/steps/settings/about.inc
@@ -50,7 +50,7 @@ function rcmail_plugins_list($attrib)
$attrib['id'] = 'rcmpluginlist';
}
- $plugins = array_filter((array) $RCMAIL->config->get('plugins'));
+ $plugins = array_filter($RCMAIL->plugins->active_plugins);
$plugin_info = array();
foreach ($plugins as $name) {
@@ -61,8 +61,8 @@ function rcmail_plugins_list($attrib)
// load info from required plugins, too
foreach ($plugin_info as $name => $info) {
- if (is_array($info['required']) && !empty($info['required'])) {
- foreach ($info['required'] as $req_name) {
+ if (is_array($info['require']) && !empty($info['require'])) {
+ foreach ($info['require'] as $req_name) {
if (!isset($plugin_info[$req_name]) && ($req_info = $RCMAIL->plugins->get_info($req_name))) {
$plugin_info[$req_name] = $req_info;
}