code: public void unsubscribeAllDeletedResources(CmsRequestContext context, String poolName, long deletedTo)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              m_driverManager.unsubscribeAllDeletedResources(dbc, poolName, deletedTo);
          } catch (Exception e) {
  
              dbc.report(null, Messages.get().container(Messages.ERR_UNSUBSCRIBE_ALL_DELETED_RESOURCES_USER_0), e);
  
          } finally {
              dbc.clear();
          }
      }
docs: Unsubscribes all deleted resources that were deleted before the specified time stamp.<p>
  
  @param context the request context
  @param poolName the name of the database pool to use
  @param deletedTo the time stamp to which the resources have been deleted
  
  @throws CmsException if something goes wrong