projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5282472
)
System.get API - Return CMS version
author
Tim Otten
<totten@civicrm.org>
Sat, 5 Dec 2015 22:09:43 +0000
(14:09 -0800)
committer
Tim Otten
<totten@civicrm.org>
Sat, 5 Dec 2015 23:53:02 +0000
(15:53 -0800)
api/v3/System.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/System.php
b/api/v3/System.php
index 09affcba060ef3944ef4106ac6ca4320a5116c2c..e4343b70f4f06059d0aa250cb41d0c8aaee6dd32 100644
(file)
--- a/
api/v3/System.php
+++ b/
api/v3/System.php
@@
-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()),
),