Commit 52ab7b6d authored by Kevin Falcone's avatar Kevin Falcone
Browse files

call wrap correctly

parent 56780ee8
......@@ -58,7 +58,7 @@ use RT::Interface::Web::Handler;
use Hook::LexWrap;
{ my $i = 0;
wrap 'RT::Interface::Web::Handler::CleanupRequest' => sub {
wrap 'RT::Interface::Web::Handler::CleanupRequest', post => sub {
return if ++$i%100; # flush cache every N requests
%EFFECTIVE_ID_CACHE = ();
}; }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment