source/Internal/Review/Bridge/UserRatingBridge.php
public function deleteRating($userId, $ratingId)
    {
        $rating = $this->getRatingById($ratingId);

        $this->validateUserPermissionsToManageRating($rating, $userId);

        $rating = $this->disableSubShopDeleteProtectionForRating($rating);
        $rating->delete();
    }
public function deleteRating($userId, $ratingId)
    {
        $rating = $this->getRatingById($ratingId);

        $this->validateUserPermissionsToManageRating($rating, $userId);

        $rating = $this->disableSubShopDeleteProtectionForRating($rating);
        $rating->delete();
    }
public function deleteRating ( $ userId , $ ratingId ) { $ rating = $ this -> getRatingById ( $ ratingId ) ; $ this -> validateUserPermissionsToManageRating ( $ rating , $ userId ) ; $ rating = $ this -> disableSubShopDeleteProtectionForRating ( $ rating ) ; $ rating -> delete ( ) ; }
Delete a Rating.

@param string $userId
@param string $ratingId

@throws RatingPermissionException
Delete a Rating .