If you install this module with Drush, you'll see that your call to system_modules() in _nodecomment_install_type_create isn't defined yet, because you need to load the 'system' module (in addition to the other ones you're already loading).
Very small patch attached :)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | nodecomment_804912.patch | 390 bytes | crea |
| nodecomment_install.patch | 723 bytes | semperos |
Comments
Comment #1
crea commentedComment #2
crea commentedHow is this supposed to work ? system_modules() is inside system.admin.inc so it won't be available when you load just the system module. Did you try your own patch before submitting ?
Comment #3
crea commentedThis one should work.
Comment #4
crea commentedCommitted
Comment #6
semperos commentedWas fairly sure I tested it before submitting, but your comment makes absolute sense. Thanks for taking the time to correct it and submit it.