Browse Source

Api Changes: Manually updated tripal_mviews_action

Lacey Sanderson 11 years ago
parent
commit
277e3dbc03
1 changed files with 11 additions and 3 deletions
  1. 11 3
      tripal_core/tripal_core.module

+ 11 - 3
tripal_core/tripal_core.module

@@ -322,11 +322,19 @@ function tripal_core_menu() {
     'access arguments' => array('administer tripal'),
     'type' => MENU_CALLBACK,
   );
-  $items['admin/tripal/schema/mviews/action/%/%'] = array(
+  $items['admin/tripal/schema/mviews/action/update/%'] = array(
     'title' => 'Create Materialized View',
     'description' => 'Materialized views are used to improve speed of large or complex queries.',
-    'page callback' => 'tripal_mviews_action',
-    'page arguments' => array(5, 6, "1"),
+    'page callback' => 'tripal_add_populate_mview',
+    'page arguments' => array(6, "1"),
+    'access arguments' => array('administer tripal'),
+    'type' => MENU_CALLBACK,
+  );
+  $items['admin/tripal/schema/mviews/action/delete/%'] = array(
+    'title' => 'Create Materialized View',
+    'description' => 'Materialized views are used to improve speed of large or complex queries.',
+    'page callback' => 'tripal_delete_mview',
+    'page arguments' => array(6, "1"),
     'access arguments' => array('administer tripal'),
     'type' => MENU_CALLBACK,
   );