Merge pull request #24073 from kurund/formbuilder-icon-fixes
[civicrm-core.git] / CRM / Core / Component.php
index 9413e233878aea7e05ed171ba2198ac17f38d4c8..10d4e9c9bcfa46228cd351e9a1375942c42d3551 100644 (file)
@@ -414,7 +414,6 @@ class CRM_Core_Component {
         $infoFile = $crmFolderDir . "/{$subDir}/" . self::COMPONENT_INFO_CLASS . '.php';
         if (file_exists($infoFile)) {
           $infoClass = 'CRM_' . $subDir . '_' . self::COMPONENT_INFO_CLASS;
-          require_once str_replace('_', DIRECTORY_SEPARATOR, $infoClass) . '.php';
           $infoObject = new $infoClass(NULL, NULL, NULL);
           $components[$infoObject->info['name']] = $infoObject;
           unset($infoObject);