X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FComponent.php;h=10d4e9c9bcfa46228cd351e9a1375942c42d3551;hb=b3e9cddc7015ef578045466a22e1afbd7d77c5d4;hp=9413e233878aea7e05ed171ba2198ac17f38d4c8;hpb=59dd77c6fde181e893ef275a12abb991997b60d4;p=civicrm-core.git diff --git a/CRM/Core/Component.php b/CRM/Core/Component.php index 9413e23387..10d4e9c9bc 100644 --- a/CRM/Core/Component.php +++ b/CRM/Core/Component.php @@ -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);