? 857928-1_requirements.patch
Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/formatted_number/README.txt,v
retrieving revision 1.1.2.4
diff -u -p -r1.1.2.4 README.txt
--- README.txt	20 Sep 2009 11:07:02 -0000	1.1.2.4
+++ README.txt	19 Jul 2010 02:39:58 -0000
@@ -30,7 +30,7 @@ REQUIREMENTS
 ============
 
 - CCK (http://drupal.org/project/cck)
-- Format Number API (http://drupal.org/project/format_number)
+- Format Number API 1.1 or higher (http://drupal.org/project/format_number)
 
 
 INSTALLATION
Index: formatted_number.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/formatted_number/Attic/formatted_number.install,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 formatted_number.install
--- formatted_number.install	24 Feb 2009 11:57:28 -0000	1.1.2.3
+++ formatted_number.install	19 Jul 2010 02:39:58 -0000
@@ -7,33 +7,6 @@
  */
 
 /**
- * Implementation of hook_requirements().
- *
- * Requirement: function format_number_get_options() was added
- * in version 6.x-1.1 of the format_number module.
- */
-function formatted_number_requirements($phase) {
-  if ($phase == 'install') {
-    $requirements = array();
-    // Ensure translations don't break at install time
-    $t = get_t();
-    drupal_load('module', 'format_number');
-    if (!function_exists('format_number_get_options')) {
-      $requirements['format_number'] = array(
-        'title' => $t('Format Number API'),
-        'description' => $t('%module-name requires, at least, version 6.x-1.1 of the <a href="@format-number">Format Number API</a> module.', array(
-          '%module-name' => $t('Formatter Number CCK'),
-          '@format-number' => 'http://drupal.org/project/format_number',
-        )),
-        'value' => $t('version 6.x-1.0'),
-        'severity' => REQUIREMENT_ERROR,
-      );
-    }
-    return $requirements;
-  }
-}
-
-/**
  * Implementation of hook_install().
  *
  * Notify content module when this module is installed.
