incorrect hook implementation

joachim - November 3, 2009 - 16:59
Project:Deployment
Version:6.x-1.x-dev
Component:node_deploy.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

In node_deploy.module:

/**
* Implementation of hook_deploy_check().
*
* Used to manage deployment dependencies
*
* @param $nid
*   Nid of the node we're trying to deploy
*/
function node_deploy_check($nid) {

Really?
node_deploy_deploy_check, surely?
Unless the plan is to register the hook on behalf of core node module, in which case the function doxygen header could do to say that.

#1

heyrocker - November 4, 2009 - 14:14

No that's a good catch, I bet that is in other places as well.

 
 

Drupal is a registered trademark of Dries Buytaert.