// Are there queue entries that were recently added?
$r = q("SELECT `id` FROM `queue` WHERE `cid` = %d
- AND `last` > UTC_TIMESTAMP() - INTVAL 15 MINUTE LIMIT 1",
+ AND `last` > UTC_TIMESTAMP() - INTERVAL 15 MINUTE LIMIT 1",
intval($cid)
);
$was_delayed = !dbm::is_result($r);
}
- return $was_delayed;;
+ return $was_delayed;
}