X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FClassLoader.php;h=b68cc3d6b911cb3932c64623ecaec690fe05b8f0;hb=16bd56a4590b6ded39eaa6abaa15e7904e410445;hp=4ec6230e47511df71fff742991118bbf2083386d;hpb=c6e262c51134924a9cc023dcb0613238fd1d0451;p=civicrm-core.git diff --git a/CRM/Core/ClassLoader.php b/CRM/Core/ClassLoader.php index 4ec6230e47..b68cc3d6b9 100644 --- a/CRM/Core/ClassLoader.php +++ b/CRM/Core/ClassLoader.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -39,7 +39,6 @@ class CRM_Core_ClassLoader { * We only need one instance of this object. So we use the singleton * pattern and cache the instance in this variable * @var object - * @static */ private static $_singleton = NULL; @@ -102,6 +101,11 @@ class CRM_Core_ClassLoader { require_once "$civicrm_base_path/vendor/autoload.php"; } + /** + * Initialize HTML purifier class. + * + * @param string $prepend + */ public function initHtmlPurifier($prepend) { if (class_exists('HTMLPurifier_Bootstrap')) { // HTMLPurifier is already initialized, e.g. by the Drupal module.