code: protected List<String> getModulesToDelete() {
  
          List<String> result = new ArrayList<String>();
          for (int i = 0; i < OBSOLETE_MODULES.length; i++) {
              if (OpenCms.getModuleManager().hasModule(OBSOLETE_MODULES[i])) {
                  result.add(OBSOLETE_MODULES[i]);
              }
          }
          return result;
      }
docs: Computes a list of modules which need to be removed before updating the other modules, e.g. because of resource type
  conflicts.<p>
  
  @return the list of names of modules which need to be removed