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

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