diff options
author | ivan <ivan> | 2010-05-18 19:20:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-05-18 19:20:29 +0000 |
commit | b102662c11390d9220ef7a935ce847f18ba221fb (patch) | |
tree | f3c06005ce9dd362b40c133a098140d34d909c84 /rt/lib/RT/Config.pm | |
parent | 624b2d44625f69d71175c3348cae635d580c890b (diff) |
merging rt \3.8.8 to HEAD
Diffstat (limited to 'rt/lib/RT/Config.pm')
-rw-r--r-- | rt/lib/RT/Config.pm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/rt/lib/RT/Config.pm b/rt/lib/RT/Config.pm index 4e66c3cff..3f8581cc5 100644 --- a/rt/lib/RT/Config.pm +++ b/rt/lib/RT/Config.pm @@ -333,6 +333,22 @@ our %META = ( }, }, + RTAddressRegexp => { + Type => 'SCALAR', + PostLoadCheck => sub { + my $self = shift; + my $value = $self->Get('RTAddressRegexp'); + return if $value; + + $RT::Logger->error( + 'The RTAddressRegexp option is not set in the config.' + .' Not setting this option results in additional SQL queries to' + .' check whether each address belongs to RT or not.' + .' It is especially important to set this option if RT recieves' + .' emails on addresses that are not in the database or config.' + ); + }, + }, # User overridable mail options EmailFrequency => { Section => 'Mail', #loc @@ -349,6 +365,16 @@ our %META = ( ] } }, + NotifyActor => { + Section => 'Mail', #loc + Overridable => 1, + SortOrder => 2, + Widget => '/Widgets/Form/Boolean', + WidgetArguments => { + Description => 'Outgoing mail', #loc + Hints => 'Should RT send you mail for ticket updates you make?', #loc + } + }, # this tends to break extensions that stash links in ticket update pages Organization => { |