diff options
-rw-r--r-- | Bugzilla/Hook.pm | 2 | ||||
-rw-r--r-- | 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> - 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 { |