diff options
author | Yorhel <git@yorhel.nl> | 2019-10-10 16:37:49 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-10 16:54:36 +0200 |
commit | e0f0fec01dd6cb8b0cc2b2dc85ad05a6cd990488 (patch) | |
tree | 5c4e27d70668a0c162365c27c02f834e42be3f3e /lib/VNDB/DB | |
parent | b3a9130763879d60c0e413c724a759860bd396af (diff) |
rewards: Honor public custom css/skin
Diffstat (limited to 'lib/VNDB/DB')
-rw-r--r-- | lib/VNDB/DB/Users.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Users.pm b/lib/VNDB/DB/Users.pm index 663184cb..a0c209c2 100644 --- a/lib/VNDB/DB/Users.pm +++ b/lib/VNDB/DB/Users.pm @@ -13,7 +13,7 @@ our @EXPORT = qw| # %options->{ username session uid ip registered search results page what sort reverse notperm } -# what: extended +# what: extended pubskin # sort: username registered votes changes tags sub dbUserGet { my $s = shift; @@ -57,6 +57,7 @@ sub dbUserGet { VNWeb::DB::sql_user(), # XXX: This duplicates id and username, but updating all the code isn't going to be easy q|extract('epoch' from registered) as registered|, $o{what} =~ /extended/ ? qw|perm ign_votes| : (), # mail + $o{what} =~ /pubskin/ ? qw|pubskin_can customcss skin| : (), $token ? qq|extract('epoch' from user_isloggedin(id, decode('$token', 'hex'))) as session_lastused| : (), ); |