From 513b4458b42e7f20ee0e57995c339c2dd6c495e7 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Fri, 15 Jan 2016 14:42:22 +0000 Subject: Bug 922549: Bugzilla::Migrate.pm should provide hook in load function. r=gerv. (review cleanups) --- Bugzilla/Hook.pm | 2 +- extensions/Example/Extension.pm | 2 +- 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 to where the modules are kept, on a typical extension this +=item C - Path to where the modules are kept; on a typical extension this would be the lib folder of the extension. =item C - 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 { -- cgit v1.2.3-24-g4f1b