From 0777ee56dd09a2a459074dccda9a8439632ba6e6 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 25 Nov 2009 01:46:35 +0000 Subject: Bug 530746: Create a script that converts extensions from the old format to the new format Patch by Max Kanat-Alexander (module owner) a=mkanat --- Bugzilla/Extension.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Extension.pm') 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 that gets an argument named C: sub foo_start { - my ($self, $params) = @_; - my $bar = $params->{bar}; + my ($self, $args) = @_; + my $bar = $args->{bar}; print "I got $bar!\n"; } -- cgit v1.2.3-24-g4f1b