Skip to content
Snippets Groups Projects
Commit 52ab7b6d authored by Kevin Falcone's avatar Kevin Falcone
Browse files

call wrap correctly

parent 56780ee8
No related branches found
No related tags found
No related merge requests found
......@@ -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 = ();
}; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment