Explorar el Código

Fixing small typo

Stephen Ficklin hace 9 años
padre
commit
540b64b6fe
Se han modificado 2 ficheros con 6 adiciones y 7 borrados
  1. 1 0
      tripal_pub/includes/tripal_pub.chado_node.inc
  2. 5 7
      tripal_pub/tripal_pub.module

+ 1 - 0
tripal_pub/includes/tripal_pub.chado_node.inc

@@ -35,6 +35,7 @@ function tripal_pub_node_info() {
       ),
     ),
   );
+  return $nodes;
 }
 
 /**

+ 5 - 7
tripal_pub/tripal_pub.module

@@ -65,8 +65,6 @@ function tripal_pub_menu() {
     'access arguments' => array('access chado_pub content'),
     'type' => MENU_CALLBACK
   );
-  
-
 
   $items['find/publications/criteria/%/%'] = array(
     'page callback' => 'tripal_pub_search_page_update_criteria',
@@ -112,7 +110,7 @@ function tripal_pub_menu() {
     'type' => MENU_LOCAL_TASK,
     'weight' => 2
   );
-  
+
   $items['admin/tripal/chado/tripal_pub/chado_pub_toc'] = array(
     'title' => ' TOC',
     'description' => 'Manage the table of contents for pub nodes.',
@@ -399,7 +397,7 @@ function tripal_pub_form_alter(&$form, &$form_state, $form_id) {
   if ($form_id == "chado_pub_node_form") {
     // turn of preview button for insert/updates
     $form['actions']['preview']['#access'] = FALSE;
-    
+
     //remove the body field
     unset($form['body']);
   }
@@ -445,9 +443,9 @@ function tripal_pub_job_describe_args($callback, $args) {
 }
 
 
-/** 
+/**
  * A simple wrapper function to put <pre> tags around the raw results
- * returned by the 
+ * returned by the
  * @param unknown $dbxref
  * @return string
  */
@@ -462,7 +460,7 @@ function tripal_get_remote_pub_raw_page($dbxref) {
 }
 
 /**
- * 
+ *
  */
 function tripal_pub_search_biological_data_views() {
   return array(