]> iEval git - gruntmaster-data.git/commitdiff
Make user_list consistent with the other methods
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 31 Mar 2015 07:54:34 +0000 (10:54 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 31 Mar 2015 07:56:07 +0000 (10:56 +0300)
lib/Gruntmaster/Data.pm

index 301bdfd483040e91a888701fe0d5dfca9369ef0d..b9e6d3a2a536c2e46ddf3563ae7b0be18a3be654 100644 (file)
@@ -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) = @_;
This page took 0.026817 seconds and 4 git commands to generate.