Index: /Users/Kiam/Sandbox/6.1-dev/contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module,v
retrieving revision 1.19.2.116
diff -u -p -r1.19.2.116 xmlsitemap_node.module
--- xmlsitemap_node.module	8 May 2009 15:02:32 -0000	1.19.2.116
+++ xmlsitemap_node.module	8 May 2009 15:13:26 -0000
@@ -146,7 +146,7 @@ function xmlsitemap_node_nodeapi(&$node,
       }
       break;
     case 'update':
-      if (($result = db_fetch_object(db_query("SELECT nid, changed, previously_changed, comment_ratio, priority_override FROM {xmlsitemap_node} WHERE nid = %d", $node->nid))) === FALSE) {
+      if (($result = db_fetch_object(db_query("SELECT nid, changed, previously_changed, priority_override FROM {xmlsitemap_node} WHERE nid = %d", $node->nid))) === FALSE) {
         $row = new stdClass();
         $row->nid = $node->nid;
         $row->changed = $node->changed;
@@ -198,7 +198,7 @@ function xmlsitemap_node_xmlsitemap_link
  * Implementation of hook_xmlsitemap_links().
  */
 function xmlsitemap_node_xmlsitemap_links() {
-  $query = "SELECT n.nid, n.vid, n.type, n.language, n.uid, n.created, n.promote, xn.changed, xn.previously_changed, xn.priority_override, xn.comment_ratio
+  $query = "SELECT n.nid, n.vid, n.type, n.language, n.uid, n.created, n.promote, xn.changed, xn.previously_changed, xn.priority_override
     FROM {node} n
     INNER JOIN {xmlsitemap_node} xn ON n.nid = xn.nid
     WHERE n.status > 0";
@@ -291,7 +291,7 @@ function xmlsitemap_node_set_priority($n
     $node = node_load($nid);
   }
   if ($node) {
-    $result = db_fetch_object(db_query("SELECT nid, changed, previously_changed, comment_ratio, priority_override
+    $result = db_fetch_object(db_query("SELECT nid, changed, previously_changed, priority_override
       FROM {xmlsitemap_node}
       WHERE nid = %d", $nid)
     );
