From 505927a455f8c20ce36b27efa69eb2aaaecfbfc3 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 16 Dec 2013 10:33:47 -0800 Subject: [PATCH] by default set entity generation to false CRM-13938 ---------------------------------------- * CRM-13938: Create Annotations for entity files http://issues.civicrm.org/jira/browse/CRM-13938 --- xml/GenCode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/GenCode.php b/xml/GenCode.php index 8bb7939a4f..d3d4ff1762 100644 --- a/xml/GenCode.php +++ b/xml/GenCode.php @@ -18,7 +18,7 @@ date_default_timezone_set('UTC'); // avoid php warnings if timezone is not set - define('CIVICRM_UF', 'Drupal'); // this should be true if you want to generate entities instead of DAO -define('CIVICRM_GEN_ENTITY', TRUE); +define('CIVICRM_GEN_ENTITY', FALSE); require_once 'CRM/Core/ClassLoader.php'; CRM_Core_ClassLoader::singleton()->register(); -- 2.25.1