Index: flag.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/flag/Attic/flag.install,v
retrieving revision 1.2.2.28
diff -u -r1.2.2.28 flag.install
--- flag.install	20 Feb 2009 21:56:40 -0000	1.2.2.28
+++ flag.install	2 Mar 2009 15:31:59 -0000
@@ -86,13 +86,11 @@
     }
   }
 
-  if (module_exists('translation') && !module_exists('translation_helpers')) {
+  if ($phase == 'runtime' && module_exists('translation') && !module_exists('translation_helpers')) {
     $requirements['flag_translation']['title'] = $t('Flag');
     $requirements['flag_translation']['severity'] = REQUIREMENT_ERROR;
     $requirements['flag_translation']['description'] = $t('To have the flag module work with translations, you need to install and enable the <a href="http://drupal.org/project/translation_helpers">Translation helpers</a> module.');
-    if ($phase == 'runtime') {
-      $requirements['flag_translation']['value'] = $t('Translation helpers module not found.');
-    }
+    $requirements['flag_translation']['value'] = $t('Translation helpers module not found.');
   }
   return $requirements;
 }
