If you create a drush hook using the old-style naming convention of drush_<command-file>_<command-file>_<command>, you receive the following error message:

[error]The drush command hook naming conventions have changed; the function drush_<command-file>_<command-file>_<command> must be renamed to drush_<command-file>_<command>. The old function will be called, but this will be removed shortly.

Contrary to what is stated in the error message, the old-style function does not seem to get called.

Drush status output:

PHP configuration     :  /etc/php5/cli/php.ini 
Drush version         :  5.0-dev               
Drush configuration   :                        
Drush alias files     :                        

Comments

greg.1.anderson’s picture

Status: Active » Needs review
StatusFileSize
new1.04 KB

I think we can get rid of this now, at least in master.

mr.baileys’s picture

Status: Needs review » Reviewed & tested by the community

Tested the patch with my example module and works as expected.

moshe weitzman’s picture

Status: Reviewed & tested by the community » Fixed

committed to master and 4.x.

moshe weitzman’s picture

actually, 4.x is a bad idea. reverted that one.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.