code: public void deleteModule(String moduleName) throws Exception {
  
          OpenCms.getModuleManager().deleteModule(
              m_cms,
              moduleName,
              false,
              new CmsShellReport(m_cms.getRequestContext().getLocale()));
      }
docs: Deletes a module.<p>
  
  @param moduleName the name of the module
  @throws Exception if something goes wrong