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

Comments

gorbeia’s picture

StatusFileSize
new359 bytes
gorbeia’s picture

StatusFileSize
new335 bytes

ok, this patch applies against cvs.

clemens.tolboom’s picture

Title: module dependency on content_copy » Check for enabled module content copy
Assigned: Unassigned » clemens.tolboom

Thanks 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

clemens.tolboom’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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