Index: signup.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/signup/signup.install,v
retrieving revision 1.24.2.4
diff -u -p -r1.24.2.4 signup.install
--- signup.install	19 Sep 2009 01:42:58 -0000	1.24.2.4
+++ signup.install	20 Sep 2009 01:09:02 -0000
@@ -479,6 +479,22 @@ function signup_update_6003() {
     'default' => 1,
   );
   db_add_field($ret, 'signup_log', 'count_towards_limit', $field);
+
+  if (module_exists('signup_status')) {
+    // As a favor to signup_status users, if signup_status is enabled, and
+    // they've updated to the latest code that has the batch-aware function
+    // for updating signup records and checking limits whenever there are
+    // changes to a signup status in terms of mod_signup_count, have that
+    // function check all signups so {signup_log}.count_towards_limit is
+    // initialized properly on sites that have status values which don't count
+    // towards the signup limit.
+    module_load_include('inc', 'signup_status', 'signup_status.admin');
+    if (function_exists('signup_status_admin_signup_count_change')) {
+      $codes = signup_status_codes();
+      signup_status_admin_signup_count_change($codes);
+    }
+  }
+
   return $ret;
 }
 
