Quellcode durchsuchen

Applied patch to example module provied by Nelson N

Stephen Ficklin vor 10 Jahren
Ursprung
Commit
8c64338472
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 2 2
      tripal_example/tripal_example.install
  2. 1 1
      tripal_example/tripal_example.module

+ 2 - 2
tripal_example/tripal_example.install

@@ -516,7 +516,7 @@ function tripal_example_add_example_dbxref_table() {
   // EXPLANATION: use the Drupal Schema API to describe the custom table. Then
   // add the table using the chado_create_custom_table() function.
 
-  $description =  array(
+  $schema =  array(
     'table' => 'example_dbxref',
     'fields' => array(
       'example_dbxref_id' => array(
@@ -615,4 +615,4 @@ function tripal_example_update_dependencies() {
   );
 
   return $dependencies;
-}
+}

+ 1 - 1
tripal_example/tripal_example.module

@@ -23,7 +23,7 @@ require('includes/tripal_example.chado_node.inc');
  * 
  * @ingroup tripal_example
  */
-function tripal_example_permisssions() {
+function tripal_example_permission() {
   
   // EXPLANATION:  here we want to setup any of the permission types
   // that this module needs.  Our exmample module creates a new