From 286eee5ad164c34cbbc34fe268baa23f0fec6a31 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 19 Jun 2015 16:20:11 -0400 Subject: [PATCH] Remove unnecessary require_once --- CRM/Utils/Hook.php | 1 - 1 file changed, 1 deletion(-) 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; -- 2.25.1