The content_copy module must be enabled in order to run drush sm list cck. If not, this is the error:
Fatal error: Call to undefined function content_copy_types() in /var/www/drupal-6.13/sites/all/modules/drush_sm/inc/cck.sm.inc on line 20
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add_dependency_for_cck_export.patch | 335 bytes | gorbeia |
| #1 | add_dependency_for_cck_export.patch | 359 bytes | gorbeia |
Comments
Comment #1
gorbeia commentedComment #2
gorbeia commentedok, this patch applies against cvs.
Comment #3
clemens.tolboomThanks for the patch but this introduce a dependency which should not be required.
I tried to solve this by removing the cck items from the drush commandlist but that was not a solution.
So I fixed this by dying when executing the cck list / export commands. It help people to remember to enable the module.
I did not implement a hook_requirements because this project is not a real drupal module ... I just want to be able to enable it
Comment #4
clemens.tolboom