# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: nat/includes/nat.views.inc
--- nat/includes/nat.views.inc Base (1.2.2.3)
+++ nat/includes/nat.views.inc Locally Modified (Based On 1.2.2.3)
@@ -1,6 +1,14 @@
 <?php
 // $Id: nat.views.inc,v 1.2.2.3 2009/02/14 19:56:51 anantagati Exp $
+/*
+ * @file
+ * NAT - node auto term - Views module implementation.
+ */
 
+
+/*
+ * Implementation of hook_views_data().
+ */
\ No newline at end of file
 function nat_views_data() {
   $data = array();
 
Index: nat/nat.admin.inc
--- nat/nat.admin.inc Base (1.1.2.2)
+++ nat/nat.admin.inc Locally Modified (Based On 1.1.2.2)
@@ -2,6 +2,11 @@
 // $Id: nat.admin.inc,v 1.1.2.2 2009/03/01 07:27:51 karthik Exp $
 
 /**
+ * @file
+ * NAT module administrative forms.
+ */
+
+/**
  * Menu callback: NAT module settings form.
  */
 function nat_settings_form() {
Index: nat/nat.install
--- nat/nat.install Base (1.9)
+++ nat/nat.install Locally Modified (Based On 1.9)
@@ -1,12 +1,17 @@
 <?php
 // $Id: nat.install,v 1.9 2008/05/14 20:54:37 karthik Exp $
 
+/*
+ * @file
+ * NAT - node auto term - install file.
+ */
+
 /**
  * Implementation of hook_install().
  */
 function nat_install() {
   drupal_install_schema('nat');
-  drupal_set_message(t('NAT module: Installation script complete.'));
+  drupal_set_message(st('NAT module: Installation script complete.'));
 }
 
 /**
@@ -55,9 +60,9 @@
       break;
   }
 
-  $result = db_query('SELECT n.nid, n.tid, td.vid FROM {nat} n INNER JOIN {term_data} td USING (tid)');
+  $result = update_sql("SELECT n.nid, n.tid, td.vid FROM {nat} n INNER JOIN {term_data} td USING (tid)");
   while ($node = db_fetch_array($result)) {
-    db_query('UPDATE {nat} SET vid = %d WHERE nid = %d AND tid = %d', $node['vid'], $node['nid'], $node['tid']);
+    db_query("UPDATE {nat} SET vid = %d WHERE nid = %d AND tid = %d", $node['vid'], $node['nid'], $node['tid']);
   }
   
   return $ret;
