public function RecoverDocumentFromHistory($documentId, $arDocument) { if (parent::RecoverDocumentFromHistory($documentId, $arDocument)) { CWebDavDiskDispatcher::sendEventToOwners($arDocument['FIELDS'], null, 'recover from history'); return true; } }