From: Marius Gavrilescu Date: Tue, 31 Mar 2015 07:54:34 +0000 (+0300) Subject: Make user_list consistent with the other methods X-Git-Tag: 5999.000_014~40 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=7e123361ca14ed27d77234cbac5fdf34e075462f;p=gruntmaster-data.git Make user_list consistent with the other methods --- diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 301bdfd..b9e6d3a 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -84,7 +84,7 @@ sub add_names ($) { $el } -sub user_list { scalar query('user_list_sth')->hashes } +sub user_list { +{us => scalar query('user_list_sth')->hashes} } sub user_entry { my ($id) = @_;