diff options
author | Oliver Tappe | 2008-05-28 19:31:25 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-05-28 19:31:25 +0200 |
commit | 3dff9d51f087a25f71030ea16241ab512d764815 (patch) | |
tree | 35e2e6210ccf0df1fd66ce872ec3e943cbac3f57 /config-db | |
parent | * make sure the local themes directory exists whenever this plugin is being (diff) | |
download | core-3dff9d51f087a25f71030ea16241ab512d764815.tar.gz core-3dff9d51f087a25f71030ea16241ab512d764815.tar.xz core-3dff9d51f087a25f71030ea16241ab512d764815.zip |
* when checking the attributes from within the config-demuxer, we no longer complain
about attributes that belong to plugins which are not installed anyway
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1807 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r-- | config-db/OpenSLX/AttributeRoster.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config-db/OpenSLX/AttributeRoster.pm b/config-db/OpenSLX/AttributeRoster.pm index 2f7ca3dd..d8659899 100644 --- a/config-db/OpenSLX/AttributeRoster.pm +++ b/config-db/OpenSLX/AttributeRoster.pm @@ -523,6 +523,11 @@ sub findProblematicValues my $value = $stage3Attrs->{$key}; if ($key =~ m{^(.+)::.+?$}) { my $pluginName = $1; + if ($installedPlugins + && !grep { $_->{plugin_name} eq $pluginName } @$installedPlugins) { + # avoid checking attributes of plugins that are not installed + next; + } $attrsByPlugin{$pluginName} ||= {}; $attrsByPlugin{$pluginName}->{$key} = $value; } |