diff options
author | rojanu <aliustek@gmail.com> | 2016-01-15 15:40:10 +0100 |
---|---|---|
committer | Gervase Markham <gerv@mozilla.org> | 2016-01-15 15:40:10 +0100 |
commit | 933fe72425f6e657c152950246735370f0f06dcf (patch) | |
tree | 93dba11fac36dae4e3be00d214427028cc6181fc /extensions/Example/Extension.pm | |
parent | a0c3ade6d450ee0403612199a96db5bb8a577006 (diff) | |
download | bugzilla-933fe72425f6e657c152950246735370f0f06dcf.tar.gz bugzilla-933fe72425f6e657c152950246735370f0f06dcf.tar.xz |
Bug 922549: Bugzilla::Migrate.pm should provide hook in load function. r=gerv.
Diffstat (limited to 'extensions/Example/Extension.pm')
-rw-r--r-- | extensions/Example/Extension.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm index 1649957fd..ad96066f7 100644 --- a/extensions/Example/Extension.pm +++ b/extensions/Example/Extension.pm @@ -635,6 +635,12 @@ sub mailer_before_send { $email->header_set('X-Bugzilla-Example-Header', 'Example'); } +sub migrate_modules { + my ($self, $args) = @_; + $args->{path} = bz_locations->{'extensionsdir'} . "/Example/lib/Migrate"; + $args->{prefix} = "Bugzilla::Extension::Example:Migrate"; +} + sub object_before_create { my ($self, $args) = @_; |