projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1e9d7
)
Remove unnecessary require_once
author
Coleman Watts
<coleman@civicrm.org>
Fri, 19 Jun 2015 20:20:11 +0000
(16:20 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Fri, 19 Jun 2015 20:20:11 +0000
(16:20 -0400)
CRM/Utils/Hook.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Hook.php
b/CRM/Utils/Hook.php
index c669a972b8916ddf1ed45b3ad5a21a11defb1f3d..e4d1c1a5519244909f3cac6fe5190aa900b2670c 100644
(file)
--- 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;