Browse Source

Fixed syncing form callback

Stephen Ficklin 11 years ago
parent
commit
0625d83239

+ 1 - 1
tripal_analysis/tripal_analysis.module

@@ -75,7 +75,7 @@ function tripal_analysis_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for analyses stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_analysis', 'chado_analysis'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_analysis', 'chado_analysis'),
     'access arguments' => array('administer tripal analysis'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 2

+ 1 - 1
tripal_contact/tripal_contact.module

@@ -93,7 +93,7 @@ function tripal_contact_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for libraries stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_contact', 'chado_contact'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_contact', 'chado_contact'),
     'access arguments' => array('administer tripal contact'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 2

+ 1 - 1
tripal_example/tripal_example.module

@@ -96,7 +96,7 @@ function tripal_example_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for examples stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_example', 'chado_example'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_example', 'chado_example'),
     'access arguments' => array('administer tripal example'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 2

+ 1 - 1
tripal_feature/tripal_feature.module

@@ -158,7 +158,7 @@ function tripal_feature_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for features stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_feature', 'chado_feature'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_feature', 'chado_feature'),
     'access arguments' => array('administer tripal feature'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 1

+ 1 - 1
tripal_featuremap/tripal_featuremap.module

@@ -123,7 +123,7 @@ function tripal_featuremap_menu() {
     'title' => ' Sync',
     'description' => 'Sync featuremaps from Chado with Drupal',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_featuremap', 'chado_featuremap'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_featuremap', 'chado_featuremap'),
     'access arguments' => array('administer tripal featuremap'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 0

+ 1 - 1
tripal_library/tripal_library.module

@@ -96,7 +96,7 @@ function tripal_library_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for libraries stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_library', 'chado_library'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_library', 'chado_library'),
     'access arguments' => array('administer tripal library'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 2

+ 1 - 1
tripal_organism/tripal_organism.module

@@ -100,7 +100,7 @@ function tripal_organism_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for organisms stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_organism', 'chado_organism'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_organism', 'chado_organism'),
     'access arguments' => array('administer tripal organism'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 2

+ 1 - 1
tripal_project/tripal_project.module

@@ -71,7 +71,7 @@ function tripal_project_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for projects stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_project', 'chado_project'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_project', 'chado_project'),
     'access arguments' => array('administer tripal project'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 0

+ 1 - 1
tripal_pub/tripal_pub.module

@@ -94,7 +94,7 @@ function tripal_pub_menu() {
     'title' => ' Sync',
     'description' => 'Create pages on this site for libraries stored in Chado',
     'page callback' => 'drupal_get_form',
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_pub', 'chado_pub'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_pub', 'chado_pub'),
     'access arguments' => array('administer tripal pub'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 2

+ 1 - 1
tripal_stock/tripal_stock.module

@@ -73,7 +73,7 @@ function tripal_stock_menu() {
     'description' => 'Sync stocks from Chado with Drupal',
     'page callback' => 'drupal_get_form',
     //'page arguments' => array('tripal_stock_sync_form'),
-    'page arguments' => array('tripal_core_chado_node_sync_form', 'tripal_stock', 'chado_stock'),
+    'page arguments' => array('chado_node_sync_form', 'tripal_stock', 'chado_stock'),
     'access arguments' => array('administer tripal stock'),
     'type' => MENU_LOCAL_TASK,
     'weight' => 0