summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2016-01-15 15:42:22 +0100
committerGervase Markham <gerv@mozilla.org>2016-01-15 15:42:22 +0100
commit513b4458b42e7f20ee0e57995c339c2dd6c495e7 (patch)
tree75b7651e9ad444350db2ee76e14afbf4d8887e72
parent933fe72425f6e657c152950246735370f0f06dcf (diff)
downloadbugzilla-513b4458b42e7f20ee0e57995c339c2dd6c495e7.tar.gz
bugzilla-513b4458b42e7f20ee0e57995c339c2dd6c495e7.tar.xz
Bug 922549: Bugzilla::Migrate.pm should provide hook in load function. r=gerv. (review cleanups)
-rw-r--r--Bugzilla/Hook.pm2
-rw-r--r--extensions/Example/Extension.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index 6f85885c3..9206cc993 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -1097,7 +1097,7 @@ This hashref contains the path and prefix for the modules to be used.
=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.
=item C<prefix> - Package prefix of the module to be loaded
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm
index ad96066f7..40ee9c2d1 100644
--- a/extensions/Example/Extension.pm
+++ b/extensions/Example/Extension.pm
@@ -638,7 +638,7 @@ sub mailer_before_send {
sub migrate_modules {
my ($self, $args) = @_;
$args->{path} = bz_locations->{'extensionsdir'} . "/Example/lib/Migrate";
- $args->{prefix} = "Bugzilla::Extension::Example:Migrate";
+ $args->{prefix} = "Bugzilla::Extension::Example::Migrate";
}
sub object_before_create {