code: public List<I_CmsHistoryResource> readSubscribedDeletedResources(
          CmsObject cms,
          CmsUser user,
          boolean includeGroups,
          String folderPath,
          boolean includeSubFolders,
          long deletedFrom) throws CmsException {
  
          List<CmsGroup> groups = null;
          if (includeGroups) {
              try {
                  groups = cms.getGroupsOfUser(user.getName(), false);
              } catch (CmsException e) {
                  // failed to set user groups
              }
          }
          CmsResource resource = null;
          if (CmsStringUtil.isNotEmpty(folderPath)) {
              resource = cms.readResource(folderPath, CmsResourceFilter.ALL);
          }
          return m_securityManager.readSubscribedDeletedResources(
              cms.getRequestContext(),
              getPoolName(),
              user,
              groups,
              resource,
              includeSubFolders,
              deletedFrom);
      }
docs: Returns the subscribed history resources that were deleted.<p>
  
  @param cms the current users context
  @param user the user that subscribed to the resource
  @param includeGroups indicates if the users groups should also be checked for subscribed deleted resources
  @param folderPath the folder path of the deleted resources, if <code>null</code> all deleted resources will be returned
  @param includeSubFolders indicates if the sub folders of the specified folder path should be considered, too
  @param deletedFrom the time stamp from which the resources should have been deleted
  
  @return the subscribed history resources that were deleted
  
  @throws CmsException if something goes wrong