aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Shared.pm
diff options
context:
space:
mode:
authormatteo <matteo.pasotti@gmail.com>2014-07-05 15:12:23 +0300
committermatteo <matteo.pasotti@gmail.com>2014-07-05 15:12:23 +0300
commit96a6b704886f54314ac4eaf48f5d898ab8f93fb9 (patch)
tree6f3a7b5934636dd440b8268b108a2d481961208b /lib/AdminPanel/Shared.pm
parent5777daf56328caf38f2c8aae8731e76917ea4d77 (diff)
parent8bce3d19325a0108e0b801017d48957e0a93080d (diff)
downloadmanatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar.gz
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar.bz2
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar.xz
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.zip
Merge branch 'master' of ssh://git.mageia.org/software/adminpanel
Diffstat (limited to 'lib/AdminPanel/Shared.pm')
-rw-r--r--lib/AdminPanel/Shared.pm27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/AdminPanel/Shared.pm b/lib/AdminPanel/Shared.pm
index 7963d47e..f435c6ac 100644
--- a/lib/AdminPanel/Shared.pm
+++ b/lib/AdminPanel/Shared.pm
@@ -84,7 +84,6 @@ use base qw(Exporter);
# TODO move GUI dialogs to Shared::GUI
our @EXPORT = qw(
trim
- member
md5sum
pathList2hash
);
@@ -127,33 +126,7 @@ sub trim {
return $st;
}
-#=============================================================
-
-=head2 member
-
-=head3 INPUT
-
- $e: Array element to be found into array
- @_: any array
-
-=head3 OUTPUT
-
- 1 or 0: if $e is a member of the given array
-=head3 DESCRIPTION
-
-This function look for an element into an array
-
-=cut
-
-#=============================================================
-sub member {
- my $e = shift;
- foreach (@_) {
- $e eq $_ and return 1;
- }
- 0;
-}
#=============================================================