Commit | Line | Data |
---|---|---|
635f0b86 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
bc77d7c0 | 4 | | Copyright CiviCRM LLC. All rights reserved. | |
635f0b86 | 5 | | | |
bc77d7c0 TO |
6 | | This work is published under the GNU AGPLv3 license with some | |
7 | | permitted exceptions and without any warranty. For full license | | |
8 | | and copyright information, see https://civicrm.org/licensing | | |
635f0b86 TO |
9 | +--------------------------------------------------------------------+ |
10 | */ | |
11 | ||
50bfb460 SB |
12 | /** |
13 | * | |
14 | * @package CRM | |
ca5cec67 | 15 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
50bfb460 SB |
16 | */ |
17 | ||
635f0b86 TO |
18 | /** |
19 | * Class CRM_Utils_Geocode | |
20 | */ | |
21 | class CRM_Utils_Geocode { | |
22 | ||
23 | /** | |
f26a91e3 FG |
24 | * @deprecated |
25 | * | |
26 | * @todo Remove this method. In case people are calling this downstream (which | |
27 | * is unsupported usage), we'll deprecate it for a few releases before | |
28 | * removing it altogether. | |
29 | * | |
635f0b86 TO |
30 | * @return string|'' |
31 | * Class name, or empty. | |
32 | */ | |
33 | public static function getProviderClass() { | |
31177cf4 | 34 | CRM_Core_Error::deprecatedWarning('CRM_Utils_Geocode is deprecated and will be removed from core soon, use CRM_Utils_GeocodeProvider::getUsableClassName()'); |
f26a91e3 | 35 | |
0d1823d7 | 36 | return (string) CRM_Utils_GeocodeProvider::getUsableClassName(); |
635f0b86 TO |
37 | } |
38 | ||
39 | } |