Implemented: removed orphaned function no longer used due to previous commit
(OFBIZ-9182)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1780832 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.gradle b/build.gradle
index 9053b6b..fc2322c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -973,16 +973,6 @@
     return osClassPath
 }
 
-def componentExistsInRegister(componentRegister, componentName) {
-    def componentFound = false
-    componentRegister.children().each { component ->
-        if (componentName.equals(component.@"component-location")) {
-            componentFound = true
-        }
-    }
-    return componentFound
-}
-
 def subprojectExists(fullyQualifiedProject) {
     def projectFound = false
     subprojects.each { subproject ->