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 /os-plugins | |
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 'os-plugins')
-rw-r--r-- | os-plugins/OpenSLX/OSPlugin/Roster.pm | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/os-plugins/OpenSLX/OSPlugin/Roster.pm b/os-plugins/OpenSLX/OSPlugin/Roster.pm index 93887ec7..7bfed044 100644 --- a/os-plugins/OpenSLX/OSPlugin/Roster.pm +++ b/os-plugins/OpenSLX/OSPlugin/Roster.pm @@ -18,7 +18,6 @@ use warnings; use OpenSLX::Basics; use Clone qw(clone); -use Digest::MD5 qw(md5_hex); my %plugins; @@ -41,28 +40,6 @@ sub getAvailablePlugins return \%pluginInfo; } -=item C<computeMD5HashOverAvailablePlugins()> - -Returns a MD5 hash representing the list of available plugins and all their -attributes. - -=cut - -sub computeMD5HashOverAvailablePlugins -{ - my $class = shift; - - $class->_init() if !%plugins; - - my $pluginInfoString = ''; - foreach my $pluginName (sort keys %plugins) { - my $attrInfo = $plugins{$pluginName}->getAttrInfo(); - my $attrList = join ',', sort keys %$attrInfo; - $pluginInfoString .= $pluginName . '(' . $attrList . ')'; - } - return md5_hex($pluginInfoString); -} - =item C<getPlugin()> Returns an instance of the plugin with the given name |