]> git.uio.no Git - usit-rt.git/blobdiff - lib/RT/Interface/Web/Session.pm
Upgrade to 4.2.2
[usit-rt.git] / lib / RT / Interface / Web / Session.pm
index f2dd603fa329170163f9bc58d5a2fd32bbe874a8..368b51ae58df7b983eafe1c5b008a338da99e461 100644 (file)
@@ -2,7 +2,7 @@
 #
 # COPYRIGHT:
 #
-# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
 #                                          <sales@bestpractical.com>
 #
 # (Except where explicitly superseded by other copyright notices)
@@ -131,6 +131,8 @@ sub Attributes {
             Transaction => 1,
         };
     }
+    $res->{LongReadLen} = RT->Config->Get('MaxAttachmentSize')
+        if $class->isa('Apache::Session::Oracle');
     return $res;
 }