diff options
author | Yorhel <git@yorhel.nl> | 2011-04-08 19:25:53 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-04-08 19:25:53 +0200 |
commit | 9304d1032723d3c2b9f3dad4d239f12c8c7268fa (patch) | |
tree | 6f6b356adc2a0b74e7a2c0832773a9295e3ab0a8 /lib/VNDB/Handler/Chars.pm | |
parent | 50da6516a687442f09a05416ca1daff04d7bbf37 (diff) |
Update traits_chars cache daily using Multi::Maintenance
I'd really prefer incremental updates, but I'll first need to find a
proper algorithm...
Diffstat (limited to 'lib/VNDB/Handler/Chars.pm')
-rw-r--r-- | lib/VNDB/Handler/Chars.pm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VNDB/Handler/Chars.pm b/lib/VNDB/Handler/Chars.pm index 7968b66c..dfa289be 100644 --- a/lib/VNDB/Handler/Chars.pm +++ b/lib/VNDB/Handler/Chars.pm @@ -331,10 +331,6 @@ sub edit { $frm->{vns} = \@vns; my $nrev = $self->dbItemEdit(c => !$copy && $id ? $r->{cid} : undef, %$frm); - - # TEMPORARY SOLUTION! I'll investigate more efficient solutions and incremental updates whenever I have more data - $self->dbExec('SELECT traits_chars_calc()'); - return $self->resRedirect("/c$nrev->{iid}.$nrev->{rev}", 'post'); } } |