X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FModule.php;h=3a7da7a1e1609cc212a1a9d4d69c1dad62791b3c;hb=de6290187b3d3332be345c76944d66da658ac210;hp=eca6f6e38dbfe653504d69a63c3f154a9d1ced4a;hpb=fddf612d86189f4f71c4edcb4e9567b1b1575483;p=civicrm-core.git diff --git a/CRM/Core/Module.php b/CRM/Core/Module.php index eca6f6e38d..3a7da7a1e1 100644 --- a/CRM/Core/Module.php +++ b/CRM/Core/Module.php @@ -32,8 +32,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2019 - * $Id$ - * */ class CRM_Core_Module { @@ -43,13 +41,17 @@ class CRM_Core_Module { public $name; /** - * @var bool, TRUE if fully enabled; FALSE if module exists but is disabled + * Is the module enabled. + * + * @var bool */ public $is_active; /** + * Class constructor. + * * @param string $name - * @param $is_active + * @param bool $is_active */ public function __construct($name, $is_active) { $this->name = $name; @@ -68,7 +70,8 @@ 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 + // pseudo-module for core + $result[] = new CRM_Core_Module('civicrm', TRUE); $config = CRM_Core_Config::singleton(); $result = array_merge($result, $config->userSystem->getModules());