/* remove owner from viewer's pending requests list */
viewerResourcePath = viewerResourcePath +
SocialImplConstants.PENDING_RELATIONSHIP_REQUEST_PATH;
if (registry.resourceExists(viewerResourcePath)) {
Resource resource = registry.get(viewerResourcePath);
resource.removePropertyValue(SocialImplConstants.RELATIONSHIP_REQUESTS_PROPERTY,
owner);
registry.put(viewerResourcePath, resource);
}
} catch (RegistryException e) {
log.error(e.getMessage(), e);