Index: l10n_community/l10n_community.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/l10n_community.install,v
retrieving revision 1.1.2.11.2.12
diff -u -p -r1.1.2.11.2.12 l10n_community.install
--- l10n_community/l10n_community.install	18 Sep 2009 18:03:19 -0000	1.1.2.11.2.12
+++ l10n_community/l10n_community.install	17 Nov 2009 17:33:37 -0000
@@ -589,3 +589,12 @@ function l10n_community_update_6007() {
   }
   return $ret;
 }
+
+/**
+ * Translations which are submitted right away should have equal approval data.
+ */
+function l10n_community_update_6008() {
+  $ret = array();
+  $ret[] = update_sql('UPDATE {l10n_community_translation} SET uid_approved = uid_entered, time_approved = time_entered WHERE is_suggestion = 0 AND uid_approved = 0');
+  return $ret;
+}
