]> git.ipfire.org Git - thirdparty/bugzilla.git/commit
Bug 1283612 - Add Bugzilla::Extension module loader last 7/head
authorDylan William Hardison <dylan@hardison.net>
Thu, 30 Jun 2016 17:47:15 +0000 (13:47 -0400)
committerDylan William Hardison <dylan@hardison.net>
Thu, 30 Jun 2016 20:49:31 +0000 (16:49 -0400)
commit5392ff48657e41f45799ae019a4695b3aa24258a
treead0658f0bb3811afe44d5f89734eeb1d36853791
parent4a1c756ef3d7d06962b6c39a4ea78c1ca9a0c407
Bug 1283612 - Add Bugzilla::Extension module loader last

Currently, anything that is loaded after the bugzilla extensions
are loaded has to search through each callback inserted into @INC
by Bugzilla::Extension. If you have a lot of extensions this is slow.

It is harmless to search for Bugzilla::Extension::* modules last, so
we replace the unshift with a push.
Bugzilla/Extension.pm