As per When to use files directive in module's info file, only files with classes should be included in .info files[] directive. hook_init() is already loading it in the .module, if needed:
function user_relationship_mailer_init() {
module_load_include('inc', 'user_relationship_mailer', 'user_relationship_mailer_defaults');
}| Comment | File | Size | Author |
|---|---|---|---|
| #1 | user_relationships_1705096_useless_file_directive.patch | 460 bytes | simon georges |
Comments
Comment #1
simon georges commentedSee attached patch.
Comment #2
drewish commentedYeah definitely not needed.
Comment #3
berdirThanks, commited.