projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
remove some duplicate code
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Oracle.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Oracle.pm
b/lib/DBIx/Class/Storage/DBI/Oracle.pm
index
7a49b50
..
da60a2d
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/Oracle.pm
+++ b/
lib/DBIx/Class/Storage/DBI/Oracle.pm
@@
-19,10
+19,8
@@
sub _rebless {
? 'DBIx::Class::Storage::DBI::Oracle::WhereJoins'
: 'DBIx::Class::Storage::DBI::Oracle::Generic';
- # Load and rebless
- eval "require $class";
-
- bless $self, $class unless $@;
+ $self->ensure_class_loaded ($class);
+ bless $self, $class;
}
}