projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94c1d03
)
port our RT.pm.in changes to RT.pm in RT4
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Aug 2012 06:51:25 +0000
(23:51 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 8 Aug 2012 06:51:25 +0000
(23:51 -0700)
rt/lib/RT.pm
patch
|
blob
|
history
diff --git
a/rt/lib/RT.pm
b/rt/lib/RT.pm
index
063f7f7
..
b375c43
100644
(file)
--- a/
rt/lib/RT.pm
+++ b/
rt/lib/RT.pm
@@
-174,6
+174,8
@@
Create the Logger object and set up signal handlers.
sub InitLogging {
sub InitLogging {
+ my %arg = @_;
+
# We have to set the record separator ($, man perlvar)
# or Log::Dispatch starts getting
# really pissy, as some other module we use unsets it.
# We have to set the record separator ($, man perlvar)
# or Log::Dispatch starts getting
# really pissy, as some other module we use unsets it.
@@
-309,11
+311,14
@@
sub InitLogging {
));
}
}
));
}
}
- InitSignalHandlers();
+ InitSignalHandlers(
%arg
);
}
sub InitSignalHandlers {
}
sub InitSignalHandlers {
+ my %arg = @_;
+ return if $arg{'NoSignalHandlers'};
+
# Signal handlers
## This is the default handling of warnings and die'ings in the code
## (including other used modules - maybe except for errors catched by
# Signal handlers
## This is the default handling of warnings and die'ings in the code
## (including other used modules - maybe except for errors catched by