From: Coleman Watts Date: Fri, 19 Jun 2015 20:20:11 +0000 (-0400) Subject: Remove unnecessary require_once X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=286eee5ad164c34cbbc34fe268baa23f0fec6a31;p=civicrm-core.git Remove unnecessary require_once --- diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index c669a972b8..e4d1c1a551 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -81,7 +81,6 @@ abstract class CRM_Utils_Hook { if (self::$_singleton == NULL || $fresh) { $config = CRM_Core_Config::singleton(); $class = $config->userHookClass; - require_once str_replace('_', DIRECTORY_SEPARATOR, $config->userHookClass) . '.php'; self::$_singleton = new $class(); } return self::$_singleton;