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:
7458ddd
)
CRM_Core_Module - Add pseudomodule for "civicrm" so that core can use hook_civicrm_ma...
author
Tim Otten
<totten@civicrm.org>
Sat, 24 May 2014 03:27:00 +0000
(20:27 -0700)
committer
Tim Otten
<totten@civicrm.org>
Mon, 26 May 2014 20:04:28 +0000
(13:04 -0700)
CRM/Core/Module.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Module.php
b/CRM/Core/Module.php
index 58a848c29c05c10f9564a3e5aa0757dc76d81696..29d5bab43174437af9a7b9424a319407fdfc54b3 100644
(file)
--- a/
CRM/Core/Module.php
+++ b/
CRM/Core/Module.php
@@
-63,6
+63,7
@@
class CRM_Core_Module {
static $result;
if ($fresh || !is_array($result)) {
$result = CRM_Extension_System::singleton()->getMapper()->getModules();
+ $result[] = new CRM_Core_Module('civicrm', TRUE); // pseudo-module for core
$config = CRM_Core_Config::singleton();
if (is_callable(array($config->userSystem, 'getModules'))) {