X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=civicrm-version.php;h=2209ab9240620074ca6515873a4f6de829899a8b;hb=d2ba334836d705a18dcae91c3a05b417e6aab2ff;hp=f5b46e76f9e7ed18b822cba08d97647083bc4c05;hpb=717716132a53613d52f9c12b3f6f2c9303e6a8f3;p=civicrm-core.git diff --git a/civicrm-version.php b/civicrm-version.php old mode 100755 new mode 100644 index f5b46e76f9..2209ab9240 --- a/civicrm-version.php +++ b/civicrm-version.php @@ -64,10 +64,12 @@ namespace _CiviVersion_ { 'administrator/components/com_civicrm/civicrm/civicrm-version.php', ), 'Drupal' => array( - 'modules/system/system.module', // D7 + // D7 + 'modules/system/system.module', ), 'Drupal8' => array( - 'core/core.services.yml', // D8 + // D8 + 'core/core.services.yml', ), 'Backdrop' => array( 'core/modules/layout/layout.module', @@ -112,11 +114,13 @@ namespace _CiviVersion_ { } namespace { + /** * Get the CiviCRM version. * TODO : For now this function is not included in \Civi\Version class so not to break any code * which directly call civicrmVersion(). So those call need to replaced with \Civi\Version::civicrmVersion() * when included in the class + * @deprecated */ function civicrmVersion() { return [ @@ -124,4 +128,5 @@ namespace { 'cms' => \_CiviVersion_\Util::findCMS(), ]; } + }