prepare for release
This commit is contained in:
@@ -13,8 +13,7 @@ function booking_node_presave($node) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to create a mysql view of a complete person
|
||||
* This is still in test phase and does not return any value
|
||||
* Function to create a mysql view of all information relating to an attendee
|
||||
*
|
||||
* @param
|
||||
* @return
|
||||
@@ -123,7 +122,7 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE)
|
||||
$result = db_query("SELECT * FROM {booking_person_view}")->fetchAllAssoc('nid');
|
||||
}
|
||||
|
||||
watchdog('booking', "<pre>Loading node query output:\n@info</pre>", array('@info' => print_r( $result, true)));
|
||||
//watchdog('booking', "<pre>Loading node query output:\n@info</pre>", array('@info' => print_r( $result, true)));
|
||||
return $result;
|
||||
}
|
||||
|
||||
@@ -238,6 +237,13 @@ function booking_load_query_old($node_ids = NULL, $fetchAssoc = FALSE)
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function implementing hook_load for the node-type booking
|
||||
* @see booking_load_query
|
||||
*
|
||||
* @param $nodes - An array of the nodes being loaded, keyed by nid
|
||||
* @return nothing
|
||||
*/
|
||||
function booking_load($nodes) {
|
||||
global $event;
|
||||
|
||||
|
Reference in New Issue
Block a user