/[drupal]/contributions/modules/simpletest_automator/simpletest_automator.module
ViewVC logotype

Diff of /contributions/modules/simpletest_automator/simpletest_automator.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.40, Thu Aug 21 02:47:57 2008 UTC revision 1.41, Thu Aug 21 03:13:32 2008 UTC
# Line 59  function simpletest_automator_save($data Line 59  function simpletest_automator_save($data
59    else {    else {
60      drupal_write_record('simpletest_automator', $data);      drupal_write_record('simpletest_automator', $data);
61    }    }
   foreach ($actions as $action) {  
     simpletest_automator_action_save($action);  
   }  
62    return $data->said;    return $data->said;
63  }  }
64    
# Line 269  function simpletest_automator_menu() { Line 266  function simpletest_automator_menu() {
266      'load arguments' => array(TRUE),      'load arguments' => array(TRUE),
267      'type' => MENU_LOCAL_TASK,      'type' => MENU_LOCAL_TASK,
268    );    );
269      $items['admin/build/simpletest_automator/%simpletest_automator/record'] = array(
270        'title' => 'Record',
271        'page callback' => 'simpletest_automator_admin_record',
272        'page arguments' => array(3),
273        'weight' => 5,
274        'load arguments' => array(TRUE),
275        'type' => MENU_LOCAL_TASK,
276      );
277    $items['admin/build/simpletest_automator/%simpletest_automator/delete'] = array(    $items['admin/build/simpletest_automator/%simpletest_automator/delete'] = array(
278      'title' => 'Delete',      'title' => 'Delete',
279      'page arguments' => array('simpletest_automator_admin_delete', 3),      'page arguments' => array('simpletest_automator_admin_delete', 3),
280      'weight' => 5,      'weight' => 6,
281      'type' => MENU_LOCAL_TASK,      'type' => MENU_LOCAL_TASK,
282      'load arguments' => array(TRUE),      'load arguments' => array(TRUE),
283    );    );

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.2