There's no need to have any of module files in files[] section because they contain no classes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andypost’s picture

Status: Active » Needs review
FileSize
704 bytes

My first patch with git...

amateescu’s picture

Title: Cleanup .info file » General module cleanup
FileSize
3.87 KB

I think transliteration.inc should stay in the .info file. Here's a revised patch that also includes some Coder fixes.

andypost’s picture

Status: Needs review » Needs work
+++ b/transliteration.admin.incundefined
@@ -47,7 +47,7 @@ function transliteration_retroactive() {
-  return confirm_form($form, $question, 'admin/config/media/file-system/settings', $description, t('Transliterate'));
+  return confirm_form($form, $question, 'admin/config/media/file-system/settings', filter_xss($description), t('Transliterate'));

description already cleean

+++ b/transliteration.infoundefined
@@ -2,7 +2,4 @@ name = Transliteration
 files[] = transliteration.inc

no need because there's no classes or interfaces, see http://drupal.org/node/542202#files

amateescu’s picture

Status: Needs work » Needs review
FileSize
2.91 KB

1. just wanted to keep Coder happy, reverted that change.
2. fair enough :)

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Great!

amateescu’s picture

Status: Reviewed & tested by the community » Fixed

Commited #4 to 7.x-3.x. Thanks @andypost :)

http://drupalcode.org/project/transliteration.git/commit/9767861

Status: Fixed » Closed (fixed)

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