]> git.ipfire.org Git - thirdparty/bugzilla.git/commit
remove subclass loading and driver delegation from Schema->new.
authorDylan William Hardison <dylan@hardison.net>
Sun, 15 Dec 2019 17:13:34 +0000 (12:13 -0500)
committerDylan William Hardison <dylan@hardison.net>
Sun, 15 Dec 2019 17:13:34 +0000 (12:13 -0500)
commitcbbb15323f038d89a2c00aa8580f941f95d272a9
tree563d2a4453da2ace44e2b6eab7e127c42104c502
parentf1aad7ff266a502ce4d75ed686df909ac35d5bc2
remove subclass loading and driver delegation from Schema->new.

Bugzilla::DB::Schema->new() was both a normal constructor and also a
class-loading factory method. It is simpler to just do the class loading at the
call-site (in Bugzilla::DB::_bz_schema).

It's not very likely extensions relied on this behavior so this should be a good
change.
Bugzilla/DB.pm
Bugzilla/DB/Schema.pm
t/013dbschema.t