cleanup database query
This commit is contained in:
@@ -796,10 +796,6 @@ function _booking_is_earlybird()
|
|||||||
{
|
{
|
||||||
global $event;
|
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())
|
if ($event->booking_earlybird_close > time())
|
||||||
return TRUE;
|
return TRUE;
|
||||||
else
|
else
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user