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:

<?php
 
function user_relationship_mailer_init() {
 
module_load_include('inc', 'user_relationship_mailer', 'user_relationship_mailer_defaults');
}
?>
Files: 
CommentFileSizeAuthor
#1 user_relationships_1705096_useless_file_directive.patch460 bytesSimon Georges
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch user_relationships_1705096_useless_file_directive.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

Simon Georges’s picture

Status:Active» Needs review
StatusFileSize
new460 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch user_relationships_1705096_useless_file_directive.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

See attached patch.

drewish’s picture

Status:Needs review» Reviewed & tested by the community

Yeah definitely not needed.

Berdir’s picture

Status:Reviewed & tested by the community» Fixed

Thanks, commited.

Status:Fixed» Closed (fixed)

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