summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-11-25 02:46:35 +0100
committermkanat%bugzilla.org <>2009-11-25 02:46:35 +0100
commit0777ee56dd09a2a459074dccda9a8439632ba6e6 (patch)
treeb9d2a7e8a799072cb29626a82a08bd459911c2a6 /Bugzilla
parent823e59691fc7224ecca6d95076996fe38383bd64 (diff)
downloadbugzilla-0777ee56dd09a2a459074dccda9a8439632ba6e6.tar.gz
bugzilla-0777ee56dd09a2a459074dccda9a8439632ba6e6.tar.xz
Bug 530746: Create a script that converts extensions from the old format to the new format
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Extension.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Extension.pm b/Bugzilla/Extension.pm
index 08d5c86c3..48efd76f6 100644
--- a/Bugzilla/Extension.pm
+++ b/Bugzilla/Extension.pm
@@ -281,8 +281,8 @@ For example, here's an implementation of a hook named C<foo_start>
that gets an argument named C<bar>:
sub foo_start {
- my ($self, $params) = @_;
- my $bar = $params->{bar};
+ my ($self, $args) = @_;
+ my $bar = $args->{bar};
print "I got $bar!\n";
}