summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2010-01-03 03:07:29 +0000
committerivan <ivan>2010-01-03 03:07:29 +0000
commit8d6987f81d3d5667b00b428580a05e7ac973279a (patch)
treead821e81780b6ee95f122d92a67e4cfb0050106e /FS
parent53e7b6322bf3cbbc3bcd24117b0b008cbe019217 (diff)
can't we all just get along (with RT 3.8.7)?
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Mason.pm4
-rw-r--r--FS/FS/Mason/Request.pm11
2 files changed, 14 insertions, 1 deletions
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index cc15cd4d9..c5b68f58d 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -266,9 +266,11 @@ if ( -e $addl_handler_use_file ) {
#to throw a real error instead of just a mysterious unstyled RT
use CSS::Squish 0.06;
+ use RT::Interface::Web::Request;
+
#slow, unreliable, segfaults and is optional
#see rt/html/Ticket/Elements/ShowTransactionAttachments
- use Text::Quoted;
+ #use Text::Quoted;
#?#use File::Path qw( rmtree );
#?#use File::Glob qw( bsd_glob );
diff --git a/FS/FS/Mason/Request.pm b/FS/FS/Mason/Request.pm
index 0a1df874a..8d66f4fff 100644
--- a/FS/FS/Mason/Request.pm
+++ b/FS/FS/Mason/Request.pm
@@ -30,6 +30,9 @@ sub new {
}
+#override alter_superclass ala RT::Interface::Web::Request ??
+# for Mason 1.39 vs. Perl 5.10.0
+
sub freeside_setup {
my( $filename, $mode ) = @_;
@@ -75,4 +78,12 @@ sub freeside_setup {
}
+sub callback {
+ RT::Interface::Web::Request::callback(@_);
+}
+
+sub request_path {
+ RT::Interface::Web::Request::request_path(@_);
+}
+
1;