diff options
author | mkanat%bugzilla.org <> | 2009-11-24 07:09:41 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-11-24 07:09:41 +0100 |
commit | 5fc80f94271780b6ff6d1dbba554df35e803ac51 (patch) | |
tree | ebc3f2bc12bb32ab280cacb1cd88b35001fb2c0e /Bugzilla/Attachment.pm | |
parent | 78413d851910175fcc8aef2249be377cab7dd7e8 (diff) | |
download | bugzilla-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar.gz bugzilla-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar.xz |
Bug 430014: Re-write the code hooks system so that it uses modules instead of individual .pl files
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r-- | Bugzilla/Attachment.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 42372393c..f3210425f 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -561,7 +561,7 @@ sub _check_data { $data = <$fh>; } } - Bugzilla::Hook::process('attachment-process_data', { data => \$data, + Bugzilla::Hook::process('attachment_process_data', { data => \$data, attributes => $params }); # Do not validate the size if we have a filehandle. It will be checked later. |