The new helper functions in this file shouldn't be used externally; this
file is just an adapter for backward-compatibility. External callers should
still use `CRM_Utils_System::version()`, `civicrmVersion()`, or
`version.xml`.
<?php
-namespace Civi {
+namespace _CiviVersion_ {
- class Version {
+ class Util {
/**
* Get the CiviCRM version
*/
function civicrmVersion() {
return [
- 'version' => \Civi\Version::findVersion(),
- 'cms' => \Civi\Version::findCMS(),
+ 'version' => \_CiviVersion_\Util::findVersion(),
+ 'cms' => \_CiviVersion_\Util::findCMS(),
];
}
}