diff options
author | Oliver Tappe | 2008-08-20 15:22:49 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-08-20 15:22:49 +0200 |
commit | a078b11b1afb308e2976300f32a9f3f70d4862f3 (patch) | |
tree | 60eb7af2d39dd66ba108a39a9a17e962c1a9fec1 /config-db/OpenSLX/ConfigDB.pm | |
parent | * merged branch 'initramfs-ng' back intro trunk - requires careful testing ... (diff) | |
download | core-a078b11b1afb308e2976300f32a9f3f70d4862f3.tar.gz core-a078b11b1afb308e2976300f32a9f3f70d4862f3.tar.xz core-a078b11b1afb308e2976300f32a9f3f70d4862f3.zip |
* cleaned all attributes that are marked obsolete by ticket #243 and a couple
more (see #243 for the list)
* added all non-plugin-attrs into the hash-value that is being used to determine
changes to the set of attributes & plugins
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2056 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/OpenSLX/ConfigDB.pm')
-rw-r--r-- | config-db/OpenSLX/ConfigDB.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config-db/OpenSLX/ConfigDB.pm b/config-db/OpenSLX/ConfigDB.pm index 37bc1404..b781a08a 100644 --- a/config-db/OpenSLX/ConfigDB.pm +++ b/config-db/OpenSLX/ConfigDB.pm @@ -190,10 +190,10 @@ sub connect ## no critic (ProhibitBuiltinHomonyms) $self->{'db-schema'}->checkAndUpgradeDBSchemaIfNecessary($self) or die _tr('unable to check/update DB schema!'); - # check if any plugins (or plugin-attributes) have been added/removed since + # check if any attributes or plugins have been added/removed since # last DB-session and bring the DB up-to-date, if so - my $pluginInfoHashVal - = OpenSLX::OSPlugin::Roster->computeMD5HashOverAvailablePlugins(); + my $pluginInfoHashVal + = OpenSLX::AttributeRoster->computeMD5HashOverAllAttrs(); my $pluginInfoHashValInDB = $metaDB->schemaFetchPluginInfoHashVal(); vlog(1, "plugin-info-hashes: $pluginInfoHashVal <=> $pluginInfoHashValInDB"); if ($pluginInfoHashValInDB ne $pluginInfoHashVal) { |