xml/templates/civicrm_state_province.tpl - Fix crash in web-based installation
[civicrm-core.git] / xml / templates / listAll.tpl
index f302ac11638f43c981f571196d9f16a28c73c51f..f025a39cec4025f3b19713df8149d6cae5ce2ba3 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -39,7 +39,7 @@ class CRM_Core_DAO_AllCoreTables {ldelim}
   static private $tables = null;
   static private $daoToClass = null;
 
-  static private function init($fresh = FALSE) {ldelim}
+  static public function init($fresh = FALSE) {ldelim}
     static $init = FALSE;
     if ($init && !$fresh) return;
 
@@ -64,7 +64,10 @@ class CRM_Core_DAO_AllCoreTables {ldelim}
     $init = TRUE;
   {rdelim}
 
-  static private function registerEntityType($daoName, $className, $tableName) {ldelim}
+  /**
+   * (Quasi-Private) Do not call externally (except for unit-testing)
+   */
+  static public function registerEntityType($daoName, $className, $tableName) {ldelim}
     self::$daoToClass[$daoName] = $className;
     self::$tables[$tableName] = $className;
   {rdelim}