import rt 3.8.8
[freeside.git] / rt / lib / RT / Interface / Web / Session.pm
index 4998c34..1e0e6d5 100644 (file)
@@ -111,8 +111,8 @@ new session objects.
 =cut
 
 sub Attributes {
-
-    return $_[0]->Backends->{RT->Config->Get('DatabaseType')} ? {
+    my $class = $_[0]->Class;
+    return !$class->isa('Apache::Session::File') ? {
             Handle      => $RT::Handle->dbh,
             LockHandle  => $RT::Handle->dbh,
             Transaction => 1,