summaryrefslogtreecommitdiff
path: root/Users/Users.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Users/Users.pm')
-rw-r--r--Users/Users.pm21
1 files changed, 10 insertions, 11 deletions
diff --git a/Users/Users.pm b/Users/Users.pm
index 03d77a2..6703d0f 100644
--- a/Users/Users.pm
+++ b/Users/Users.pm
@@ -436,17 +436,6 @@ sub get
return \@users;
}
-sub get_files
-{
- my @arr;
-
- push @arr, @passwd_names;
- push @arr, @shadow_names;
-
- return \@arr;
-}
-
-
sub del_user
{
my ($user) = @_;
@@ -804,4 +793,14 @@ sub set_user
}
}
+sub get_files
+{
+ my ($arr);
+
+ push @$arr, @passwd_names;
+ push @$arr, @shadow_names;
+
+ return $arr;
+}
+
1;