code: public void deleteHistoricalVersions(int versionsToKeep, int versionsDeleted, long timeDeleted, I_CmsReport report)
      throws CmsException {
  
          m_securityManager.deleteHistoricalVersions(m_context, versionsToKeep, versionsDeleted, timeDeleted, report);
      }
docs: Deletes the versions from the history tables, keeping the given number of versions per resource.<p>
  
  @param versionsToKeep number of versions to keep, is ignored if negative
  @param versionsDeleted number of versions to keep for deleted resources, is ignored if negative
  @param timeDeleted deleted resources older than this will also be deleted, is ignored if negative
  @param report the report for output logging
  
  @throws CmsException if operation was not successful