Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
513b4458
Commit
513b4458
authored
Jan 15, 2016
by
Gervase Markham
Committed by
Gervase Markham
Jan 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 922549: Bugzilla::Migrate.pm should provide hook in load function. r=gerv. (review cleanups)
parent
933fe724
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Hook.pm
Bugzilla/Hook.pm
+1
-1
Extension.pm
extensions/Example/Extension.pm
+1
-1
No files found.
Bugzilla/Hook.pm
View file @
513b4458
...
...
@@ -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
...
...
extensions/Example/Extension.pm
View file @
513b4458
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment