[siesta-commit] siesta/lib Siesta.pm,1.26,1.27

[prev] [thread] [next] [lurker] [Date index for 2003/03/15]

From: clampr
Subject: [siesta-commit] siesta/lib Siesta.pm,1.26,1.27
Date: 21:43 on 15 Mar 2003
Update of /cvsroot/siesta/siesta/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv11281/lib

Modified Files:
	Siesta.pm 
Log Message:
refactor get_users

Index: Siesta.pm
===================================================================
RCS file: /cvsroot/siesta/siesta/lib/Siesta.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Siesta.pm	15 Mar 2003 21:39:18 -0000	1.26
+++ Siesta.pm	15 Mar 2003 21:43:13 -0000	1.27
@@ -144,7 +144,9 @@
     return sort keys %plugins;
 }
 
-=item ->lists {
+=item ->lists
+
+All the lists on the system
 
 =cut
 
@@ -153,6 +155,17 @@
 
     map { Siesta::List->new_from_hash(%$_) } $self->storage->get_lists;
 
+}
+
+=item ->users
+
+All the users on the system
+
+=cut
+
+sub users {
+    my $self = shift;
+    map { Siesta::User->new_from_hash(%$_) } $self->storage->get_users;
 }
 
 =head1 COPYING



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52