public function deleteRecord($recordId) { $this->flushCacheBeforeChange(); $result = parent::deleteRecord($recordId); $this->flushCacheAfterChange(); return $result; }