cleanup database query

This commit is contained in:
2016-05-02 18:03:30 +10:00
parent b2a057622e
commit ddc528bd15
2 changed files with 1326 additions and 1333 deletions

View File

@@ -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