Completely redo study group update function
This commit is contained in:
@@ -382,13 +382,13 @@ function booking_menu() {
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/update'] = array(
|
||||
$items['admin/booking/studygroups/%/update'] = array(
|
||||
'title' => 'Update Study Groups',
|
||||
'description' => 'Calculate updated Study Group memberships',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_studygroups_update'),
|
||||
'page arguments' => array('booking_studygroups_update', 3),
|
||||
'access arguments' => array('edit study groups'),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
//'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
$items['admin/booking/studygroups/colours'] = array(
|
||||
|
Reference in New Issue
Block a user