diff -urp type_local_nids-orig/type_local_nids.install type_local_nids/type_local_nids.install --- type_local_nids-orig/type_local_nids.install 2010-01-08 09:10:26.921338900 +1100 +++ type_local_nids/type_local_nids.install 2010-01-08 09:13:30.344387800 +1100 @@ -55,6 +55,7 @@ function type_local_nids_schema() { */ function type_local_nids_install() { drupal_install_schema('type_local_nids'); + db_query("UPDATE {system} SET weight = -1 WHERE name = 'type_local_nids'"); } /** @@ -63,3 +64,14 @@ function type_local_nids_install() { function type_local_nids_uninstall() { drupal_uninstall_schema('type_local_nids'); } + +/** + * Implements hook_update_N(). + */ +function type_local_nids_update_6100() { + $ret = array(); + + $ret[] = update_sql("UPDATE {system} SET weight = -1 WHERE name = 'type_local_nids'"); + + return $ret; +}