public function delete($con = null, $updateCache = true) { $id = $this->getId1(); parent::delete(); if (sfConfig::get('sf_cache_relations') && $updateCache) { self::updateRelationCache($id); } }
public function delete($connection = null) { parent::delete($connection); if ($this->object instanceof QubitInformationObject) { QubitSearch::updateInformationObject($this->object); } if ($this->subject instanceof QubitInformationObject) { QubitSearch::updateInformationObject($this->subject); } }