Loads of changes
This commit is contained in:
@@ -247,9 +247,9 @@ function booking_menu() {
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
$items['admin/booking/paypal'] = array(
|
||||
'title' => 'Booking Paypal Summary',
|
||||
'description' => 'List paypal payments',
|
||||
$items['admin/booking/payments'] = array(
|
||||
'title' => 'Booking Payment Summary',
|
||||
'description' => 'List all payments',
|
||||
'page callback' => 'booking_report_paypal_payments',
|
||||
'access arguments' => array('access reports'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
@@ -528,15 +528,6 @@ function booking_node_access($node, $op, $account) {
|
||||
array('!account' => $account->uid, '!op' => $op, '!type' => $type, '@info' => var_export($account, TRUE)));
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
if ($op == 'view')
|
||||
return user_access('view all bookings', $account);
|
||||
if ($op == 'create')
|
||||
return user_access('create bookings', $account);
|
||||
if ($op == 'update' || $op == 'delete')
|
||||
return user_access('edit bookings', $account);
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user