/** * (non-PHPdoc) * @see EPDBObject::insert() */ protected function insert() { $success = parent::insert(); if ($success && $this->updateSummaries) { EPOrg::updateSummaryFields(array('courses', 'active'), array('id' => $this->getField('org_id'))); } return $success; }