public function DeleteDocument($documentId) { $diskId = self::processGetDiskIdByDocId((int) $documentId); if ($diskId !== null) { self::proxyToDisk(__FUNCTION__, array($diskId)); } parent::DeleteDocument($documentId); }