System.get API - Return CMS version
authorTim Otten <totten@civicrm.org>
Sat, 5 Dec 2015 22:09:43 +0000 (14:09 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 5 Dec 2015 23:53:02 +0000 (15:53 -0800)
api/v3/System.php

index 09affcba060ef3944ef4106ac6ca4320a5116c2c..e4343b70f4f06059d0aa250cb41d0c8aaee6dd32 100644 (file)
@@ -190,6 +190,7 @@ function civicrm_api3_system_get($params) {
         'version' => CRM_Core_DAO::singleValueQuery('SELECT @@version'),
       ),
       'cms' => array(
+        'version' => $config->userSystem->getVersion(),
         'type' => CIVICRM_UF,
         'modules' => CRM_Core_Module::collectStatuses($config->userSystem->getModules()),
       ),