]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 922549: Bugzilla::Migrate.pm should provide hook in load function. r=gerv. (revie...
authorGervase Markham <gerv@gerv.net>
Fri, 15 Jan 2016 14:42:22 +0000 (14:42 +0000)
committerGervase Markham <gerv@mozilla.org>
Fri, 15 Jan 2016 14:42:22 +0000 (14:42 +0000)
Bugzilla/Hook.pm
extensions/Example/Extension.pm

index 6f85885c3f3b042f144c27708a8b0b62690aceaa..9206cc99336a320a5dead2490e56c164eb9d4c08 100644 (file)
@@ -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
index ad96066f7e59616efe1ae333d5a46afda081e6d8..40ee9c2d120defc9fa98f3adebad732fe30a901f 100644 (file)
@@ -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 {