Download & Extend

Coder review doesn't point out changes in hook_comment for d6 to d7 conversion

Project:Coder
Version:7.x-1.0
Component:Coder Review
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I was trying to port ua_logger module to d7 and was using coder module to help me out with it. The d6-dev version of ua_logger had implementations of hook_nodeapi and hook_comment. Coder Review pointed out that hook_nodeapi has been broken up into many hooks but it didn't point out the same for hook_comment. And this happened again and again as I ran the module through the coder review.

I didn't try it with any other module though. Looks like a possible bug.

Comments

#1

Thanks for the report.

Coder Upgrade has a routine to convert the single hook into the op style hooks. You could try that and merge its output with your code.

Also, use the latest dev release of this module (see project page).