Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt-extension-mergeusers
Commits
52ab7b6d
Commit
52ab7b6d
authored
Apr 09, 2009
by
Kevin Falcone
Browse files
call wrap correctly
parent
56780ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/RT/Extension/MergeUsers.pm
View file @
52ab7b6d
...
...
@@ -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
=
();
};
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment