summaryrefslogtreecommitdiff
path: root/lib/VNDB/DB/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-10-31 12:04:08 +0100
committerYorhel <git@yorhel.nl>2008-10-31 12:04:08 +0100
commitd5bc5cf2169116a9a4b30377ef2e28603fc4e3ea (patch)
treec79c61fbee5376ef9919e3ea671680ab0afa5e29 /lib/VNDB/DB/Misc.pm
parentf266cd214111a1c71f705edbc9243d8625693003 (diff)
Added some authentication and user functions
Diffstat (limited to 'lib/VNDB/DB/Misc.pm')
-rw-r--r--lib/VNDB/DB/Misc.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/DB/Misc.pm b/lib/VNDB/DB/Misc.pm
index 50a12a4b..61b1223c 100644
--- a/lib/VNDB/DB/Misc.pm
+++ b/lib/VNDB/DB/Misc.pm
@@ -13,6 +13,7 @@ our @EXPORT = qw|
# Arguments: array of elements to get stats from, options:
# vn, producers, releases, users, threads, posts
# Returns: hashref, key = element, value = number of entries
+# TODO: caching, see http://www.varlena.com/GeneralBits/120.php
sub dbStats {
my $s = shift;
return { map {