Remove unnecessary require_once
authorColeman Watts <coleman@civicrm.org>
Fri, 19 Jun 2015 20:20:11 +0000 (16:20 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 19 Jun 2015 20:20:11 +0000 (16:20 -0400)
CRM/Utils/Hook.php

index c669a972b8916ddf1ed45b3ad5a21a11defb1f3d..e4d1c1a5519244909f3cac6fe5190aa900b2670c 100644 (file)
@@ -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;