diff options
author | Yorhel <git@yorhel.nl> | 2020-04-09 08:34:40 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-04-09 08:35:32 +0200 |
commit | 6fd9ceb051538f11829b7d9b2919665dbeca70ed (patch) | |
tree | 5944f52bd30a92aa56bb165e5db4674d527660cf /util/vndb.pl | |
parent | 443fc2d8bc509b2231b4b34cb420b84d158a1b02 (diff) |
Stop keeping track of users/threads/posts count cache
Those stats havent been displayed on the site for ages, anyway. The API
will now report '0' for these stats.
Diffstat (limited to 'util/vndb.pl')
-rwxr-xr-x | util/vndb.pl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/util/vndb.pl b/util/vndb.pl index d926a04e..3a7dd714 100755 --- a/util/vndb.pl +++ b/util/vndb.pl @@ -66,9 +66,6 @@ TUWF::hook before => sub { # Use a 'SameSite=Strict' cookie to determine whether this page was loaded from internal or external. # Ought to be more reliable than checking the Referer header, but it's unfortunately a bit uglier. tuwf->resCookie(samesite => 1, httponly => 1, samesite => 'Strict') if !tuwf->samesite; - - # load some stats (used for about all pageviews, anyway) - tuwf->{stats} = tuwf->dbStats; }; |