aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-10-12 00:05:19 +0200
committerAngelo Naselli <anaselli@linux.it>2014-10-12 00:05:19 +0200
commit634c11085639aa80caf6e546bd916b5c4f6e89ee (patch)
treef19203063b714cc654dedb9e8c6e47dff94b63ce /lib/AdminPanel
parent40d7b7f5f382c62613edc38498baad930dec8f63 (diff)
downloadmanatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar
manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar.gz
manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar.bz2
manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.tar.xz
manatools-634c11085639aa80caf6e546bd916b5c4f6e89ee.zip
Shared is not a class atm
Diffstat (limited to 'lib/AdminPanel')
-rw-r--r--lib/AdminPanel/Shared.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AdminPanel/Shared.pm b/lib/AdminPanel/Shared.pm
index 51039970..9fb4999c 100644
--- a/lib/AdminPanel/Shared.pm
+++ b/lib/AdminPanel/Shared.pm
@@ -223,7 +223,6 @@ sub trim {
=head3 INPUT
- $self: this object
$item: item to search
$arr: array container
@@ -239,7 +238,7 @@ This method returns if an item is into the array container
#=============================================================
sub inArray {
- my ($self, $item, $arr) = @_;
+ my ($item, $arr) = @_;
return grep( /^$item$/, @{$arr} );
}