import torrus 1.0.9
[freeside.git] / rt / lib / RT / Config.pm
index 3f8581c..7aa25b3 100644 (file)
@@ -313,6 +313,16 @@ our %META = (
             Hints => 'Use css rules to display text monospaced and with formatting preserved, but wrap as needed.  This does not work well with IE6 and you should use the previous option', #loc
         },
     },
+    DisplayAfterQuickCreate => {
+        Section         => 'Ticket display',
+        Overridable     => 1,
+        SortOrder       => 6,
+        Widget          => '/Widgets/Form/Boolean',
+        WidgetArguments => {
+            Description => 'On Quick Create, redirect to ticket display', #loc
+            #Hints => '', #loc
+        },
+    },
 
     # User overridable locale options
     DateTimeFormat => {
@@ -340,13 +350,15 @@ our %META = (
             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.'
-            );
+            #XXX freeside - should fix this at some point, but it is being WAY
+            #too noisy in the logs
+            #$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