From: Tim Otten Date: Fri, 11 May 2018 00:38:25 +0000 (-0700) Subject: civicrm-version.php - Internal helpers should use manifestly private namespace X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8450425ac27020708f68866d7eb8761a3ae4ea18;p=civicrm-core.git civicrm-version.php - Internal helpers should use manifestly private namespace 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`. --- diff --git a/civicrm-version.php b/civicrm-version.php index 6292f2b2cd..b0013037dc 100755 --- a/civicrm-version.php +++ b/civicrm-version.php @@ -1,8 +1,8 @@ \Civi\Version::findVersion(), - 'cms' => \Civi\Version::findCMS(), + 'version' => \_CiviVersion_\Util::findVersion(), + 'cms' => \_CiviVersion_\Util::findCMS(), ]; } }