Make it easier to see leaders and helpers in studygroup lists
This commit is contained in:
@@ -380,7 +380,7 @@ function booking_menu() {
|
||||
'access arguments' => array('edit study groups'),
|
||||
//'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
/*
|
||||
$items['admin/booking/studygroups/calculate'] = array(
|
||||
'title' => 'Calculate Study Groups',
|
||||
'description' => 'Calculate Study Group memberships',
|
||||
@@ -389,7 +389,7 @@ function booking_menu() {
|
||||
'access arguments' => array('edit study groups'),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
||||
*/
|
||||
$items['admin/booking/studygroups/%/update'] = array(
|
||||
'title' => 'Update Study Groups',
|
||||
'description' => 'Calculate updated Study Group memberships',
|
||||
@@ -758,7 +758,7 @@ function booking_generate_luckynumbers() {
|
||||
$attendees = $attendee_query->fetchAll();
|
||||
|
||||
//assuming there's less than 900 people, generate numbers within that range and shuffle the order
|
||||
$numbers = range(100,999);
|
||||
$numbers = range(100,650);
|
||||
shuffle($numbers);
|
||||
|
||||
foreach ($attendees as $attendee)
|
||||
|
Reference in New Issue
Block a user