diff options
author | Yorhel <git@yorhel.nl> | 2015-05-13 11:44:04 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2015-05-13 11:44:04 +0200 |
commit | 2a783edbab51aa490884814c9c45f919886d70ef (patch) | |
tree | 98651556b6bd7f8b3e059381aa1a968cad624161 /lib/Multi | |
parent | 339599d9f8afaa61862836d2c89ce0d76045f122 (diff) |
Add staff statistic to main menu
Diffstat (limited to 'lib/Multi')
-rw-r--r-- | lib/Multi/Maintenance.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Multi/Maintenance.pm b/lib/Multi/Maintenance.pm index 7f5d8799..d7a9907d 100644 --- a/lib/Multi/Maintenance.pm +++ b/lib/Multi/Maintenance.pm @@ -137,6 +137,7 @@ my %monthlies = ( stats_rel => q|UPDATE stats_cache SET count = (SELECT COUNT(*) FROM releases WHERE hidden = FALSE) WHERE section = 'releases'|, stats_prod => q|UPDATE stats_cache SET count = (SELECT COUNT(*) FROM producers WHERE hidden = FALSE) WHERE section = 'producers'|, stats_chars => q|UPDATE stats_cache SET count = (SELECT COUNT(*) FROM chars WHERE hidden = FALSE) WHERE section = 'chars'|, + stats_chars => q|UPDATE stats_cache SET count = (SELECT COUNT(*) FROM staff WHERE hidden = FALSE) WHERE section = 'staff'|, stats_tags => q|UPDATE stats_cache SET count = (SELECT COUNT(*) FROM tags WHERE state = 2) WHERE section = 'tags'|, stats_trait => q|UPDATE stats_cache SET count = (SELECT COUNT(*) FROM traits WHERE state = 2) WHERE section = 'traits'|, stats_thread=> q|UPDATE stats_cache SET count = (SELECT COUNT(*) FROM threads WHERE hidden = FALSE) WHERE section = 'threads'|, |