diff options
author | Yorhel <git@yorhel.nl> | 2010-02-05 09:28:56 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-02-05 09:28:56 +0100 |
commit | 004d60b64d80506944fd069c89c589302b5ae313 (patch) | |
tree | dcc525169fe60e8ff56d00417d23fe695f649197 /lib/VNDB/DB/Users.pm | |
parent | 3cd6626fefaed0461d27377e2a349871c49e7154 (diff) |
Notifications: Added 'dbedit' notification
And added a settings window where you can disable this notification,
which is something you really want to do if you're an active
contributor...
Diffstat (limited to 'lib/VNDB/DB/Users.pm')
-rw-r--r-- | lib/VNDB/DB/Users.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/DB/Users.pm b/lib/VNDB/DB/Users.pm index bade6ca1..20278688 100644 --- a/lib/VNDB/DB/Users.pm +++ b/lib/VNDB/DB/Users.pm @@ -54,7 +54,7 @@ sub dbUserGet { qw|id username c_votes c_changes show_list c_tags|, q|extract('epoch' from registered) as registered|, $o{what} =~ /extended/ ? ( - qw|mail rank salt skin customcss show_nsfw ign_votes|, + qw|mail rank salt skin customcss show_nsfw ign_votes notify_dbedit|, q|encode(passwd, 'hex') AS passwd| ) : (), $o{what} =~ /notifycount/ ? @@ -100,7 +100,7 @@ sub dbUserEdit { my %h; defined $o{$_} && ($h{$_.' = ?'} = $o{$_}) - for (qw| username mail rank show_nsfw show_list skin customcss salt ign_votes |); + for (qw| username mail rank show_nsfw show_list skin customcss salt ign_votes notify_dbedit |); $h{'passwd = decode(?, \'hex\')'} = $o{passwd} if defined $o{passwd}; |