From a078b11b1afb308e2976300f32a9f3f70d4862f3 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 20 Aug 2008 13:22:49 +0000 Subject: * 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 --- config-db/OpenSLX/ConfigDB.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config-db/OpenSLX/ConfigDB.pm') 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) { -- cgit v1.2.3-55-g7522