cleanup database query
This commit is contained in:
@@ -795,11 +795,7 @@ function _booking_generate_statistics($booking_list)
|
||||
function _booking_is_earlybird()
|
||||
{
|
||||
global $event;
|
||||
|
||||
//figure out if we're in the earlybird rate section
|
||||
//$early = db_query("SELECT booking_earlybird_close FROM {booking_event} where eid = :eid", array(
|
||||
// ':eid' => $event->eid))
|
||||
// ->fetchObject();
|
||||
|
||||
if ($event->booking_earlybird_close > time())
|
||||
return TRUE;
|
||||
else
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user