Commit 513b4458 authored by Gervase Markham's avatar Gervase Markham Committed by Gervase Markham

Bug 922549: Bugzilla::Migrate.pm should provide hook in load function. r=gerv. (review cleanups)

parent 933fe724
...@@ -1097,7 +1097,7 @@ This hashref contains the path and prefix for the modules to be used. ...@@ -1097,7 +1097,7 @@ This hashref contains the path and prefix for the modules to be used.
=over =over
=item C<path> - Path to where the modules are kept, on a typical extension this =item C<path> - Path to where the modules are kept; on a typical extension this
would be the lib folder of the extension. would be the lib folder of the extension.
=item C<prefix> - Package prefix of the module to be loaded =item C<prefix> - Package prefix of the module to be loaded
......
...@@ -638,7 +638,7 @@ sub mailer_before_send { ...@@ -638,7 +638,7 @@ sub mailer_before_send {
sub migrate_modules { sub migrate_modules {
my ($self, $args) = @_; my ($self, $args) = @_;
$args->{path} = bz_locations->{'extensionsdir'} . "/Example/lib/Migrate"; $args->{path} = bz_locations->{'extensionsdir'} . "/Example/lib/Migrate";
$args->{prefix} = "Bugzilla::Extension::Example:Migrate"; $args->{prefix} = "Bugzilla::Extension::Example::Migrate";
} }
sub object_before_create { sub object_before_create {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment