select($eventQuery, $ids ?: DBSIMPLE_SKIP); foreach ($events as $e) DB::Aowow()->query('REPLACE INTO ?_events VALUES (?a)', array_values($e)); $this->reapplyCCFlags('events', Type::WORLDEVENT); return true; } }); ?>