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 :
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drush-remove-old-hook-name.patch | 1.04 KB | greg.1.anderson |
Comments
Comment #1
greg.1.anderson commentedI think we can get rid of this now, at least in master.
Comment #2
mr.baileysTested the patch with my example module and works as expected.
Comment #3
moshe weitzman commentedcommitted to master and 4.x.
Comment #4
moshe weitzman commentedactually, 4.x is a bad idea. reverted that one.