summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
diff options
context:
space:
mode:
authorOliver Tappe2008-05-21 12:08:15 +0200
committerOliver Tappe2008-05-21 12:08:15 +0200
commit1ff2bd49589e9d2de9339d6c477f079de6475010 (patch)
treea38d55f2c1b1f887599cb99ee4d10cbdd1f82fb8 /config-db/slxconfig
parent* added support to slxconfig for checking the given attribute values against (diff)
downloadcore-1ff2bd49589e9d2de9339d6c477f079de6475010.tar.gz
core-1ff2bd49589e9d2de9339d6c477f079de6475010.tar.xz
core-1ff2bd49589e9d2de9339d6c477f079de6475010.zip
* fixed bug in slxconfig introduced yesterday that would not allow setting
any attribute that has not come from a plugin (reported by Reiner) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1779 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig')
-rwxr-xr-xconfig-db/slxconfig8
1 files changed, 1 insertions, 7 deletions
diff --git a/config-db/slxconfig b/config-db/slxconfig
index c8c05093..4414d2db 100755
--- a/config-db/slxconfig
+++ b/config-db/slxconfig
@@ -39,7 +39,6 @@ use OpenSLX::AttributeRoster;
use OpenSLX::Basics;
use OpenSLX::ConfigDB;
use OpenSLX::ConfigFolder;
-use OpenSLX::OSPlugin::Roster;
use OpenSLX::Utils;
my %option;
@@ -248,12 +247,7 @@ sub parseKeyValueArgsWithAttrs
if (grep { $_ eq $key } @$allowedKeys) {
$dataHash{$key} = $value;
} elsif (grep { $_ eq $key } @$allowedAttrKeys) {
- $key =~ m{^(.+)::.+?$};
- my $pluginName = $1;
- my $plugin
- = OpenSLX::OSPlugin::Roster->getPlugin($pluginName)
- || die _tr('unable to load plugin "%s"', $pluginName);
- $plugin->checkValueForKey($key, $value);
+ OpenSLX::AttributeRoster->checkValueForKey($key, $value);
$attrHash{$key} = $value;
} else {
die _tr("unknown key '%s' specified for %s\n", $key, $table);