Bug 11891 - Make Koha::Schema use C4::Context->dbh
[koha.git] / Koha / Storage.pm
blob599b6a19ff7f8cfbb0abfcd54a69979a9a716e61
1 use utf8;
2 package Koha::Storage;
4 use strict;
5 use warnings;
7 use base 'DBIx::Class::Storage::DBI';
8 sub DESTROY {
9 my $self = shift;
11 # destroy just the object if not native to this process/thread
12 $self->_preserve_foreign_dbh;
14 $self->_dbh(undef);