This tells drush that the coder module needs to be enabled in order to run the command.
| Comment | File | Size | Author |
|---|---|---|---|
| coder_drush_dependencies.patch | 580 bytes | grendzy |
This tells drush that the coder module needs to be enabled in order to run the command.
| Comment | File | Size | Author |
|---|---|---|---|
| coder_drush_dependencies.patch | 580 bytes | grendzy |
Comments
Comment #1
frankcarey commentedThis might be related to :
#479814: Call to undefined function t() in ...sites/all/modules/coder/coder.drush.inc on line 10 ?
Comment #2
dugh commentedEnabling the coder module doesn't make the drush error go away
Comment #3
lambic commentedI encountered this today. I removed the call to t() to get drush working again (the patch didn't help).
Obviously removing the t() call isn't ideal, but I don't know how to fix it properly.
Comment #4
john morahan commentedThat t() error is due to #455722: use of t() in coder.drush.inc line 10 should be replaced with dt() which is already fixed in dev.
This patch fixes a different bug which still exists even in dev: if you run 'drush coder' when coder is disabled, you get a fatal error about an undefined function, instead of a helpful drush message telling you to enable the module first.
Before:
After:
Comment #5
stella commentedCommitted to both 6.x-2.x-dev and 7.x-1.x-dev, thanks!