X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2Ftemplates%2FlistAll.tpl;h=f302ac11638f43c981f571196d9f16a28c73c51f;hb=c4a02b20b428f79e4c82a3040d791966f3af0a19;hp=82fa900b7ebc7853479ef7fbb052b71fdf8a6abf;hpb=13c1cf91881e22bbcc38024c645736a3fc6fad4a;p=civicrm-core.git diff --git a/xml/templates/listAll.tpl b/xml/templates/listAll.tpl index 82fa900b7e..f302ac1163 100644 --- a/xml/templates/listAll.tpl +++ b/xml/templates/listAll.tpl @@ -2,9 +2,9 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -29,7 +29,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * $Id$ * */ @@ -39,9 +39,9 @@ class CRM_Core_DAO_AllCoreTables {ldelim} static private $tables = null; static private $daoToClass = null; - static private function init() {ldelim} + static private function init($fresh = FALSE) {ldelim} static $init = FALSE; - if ($init) return; + if ($init && !$fresh) return; $entityTypes = array( {foreach from=$tables key=tableName item=table} @@ -115,5 +115,8 @@ class CRM_Core_DAO_AllCoreTables {ldelim} return array_search(self::getCanonicalClassName($className), self::tables()); {rdelim} + static public function reinitializeCache($fresh = FALSE) {ldelim} + self::init($fresh); + {rdelim} {rdelim}