Remove templates/CRM/common/version.tpl
authordeb.monish <monish.deb@jmaconsulting.biz>
Tue, 20 Feb 2018 10:33:27 +0000 (16:03 +0530)
committerdeb.monish <monish.deb@jmaconsulting.biz>
Wed, 21 Feb 2018 07:47:26 +0000 (13:17 +0530)
.gitignore
CRM/Core/CodeGen/Version.php
xml/templates/civicrm_version.tpl

index d732acbd1f4f7a461399ca0304eb5d7975b7825f..f7aa94f6599339f81e8ea8ee15b0ab86f6578605 100644 (file)
@@ -21,7 +21,6 @@ sql/civicrm_data.mysql
 sql/civicrm_drop.mysql
 sql/civicrm_navigation.mysql
 sql/civicrm_sample.mysql
-templates/CRM/common/version.tpl
 tests/phpunit/CiviTest/CiviSeleniumSettings.php
 tests/phpunit/CiviTest/civicrm.settings.php
 tools/stats/config.php
index eb7272eddef34d9f53fc4f1e6007a0f2370229c2..e98e38e888143e3d374df0c2bed91dbc1569fcae 100644 (file)
@@ -7,8 +7,6 @@ class CRM_Core_CodeGen_Version extends CRM_Core_CodeGen_BaseTask {
   public function run() {
     echo "Generating civicrm-version file\n";
 
-    file_put_contents($this->config->tplCodePath . "/CRM/common/version.tpl", $this->config->db_version);
-
     $template = new CRM_Core_CodeGen_Util_Template('php');
     $template->assign('db_version', $this->config->db_version);
     $template->assign('cms', ucwords($this->config->cms));
index 93a062ea78825bed86c455a85055e4c0880ad926..a91c1c26ec10a94994a2a328a922e7fca057fedb 100644 (file)
@@ -3,11 +3,6 @@
  * Get the CiviCRM version.
  */
 function civicrmVersion( ) {ldelim}
-{include file="../../templates/CRM/common/version.tpl" assign=svnrevision}
   return array( 'version'  => '{$db_version}',
-                'cms'      => '{$cms}',
-                'revision' => '{$svnrevision}', );
+                'cms'      => '{$cms}', );
 {rdelim}
-
-
-