Skip to content

Commit

Permalink
Merge pull request #26693 from larssandergreen/Remove-PHP5-check
Browse files Browse the repository at this point in the history
Don't check for PHP 5 on Mapping Settings
  • Loading branch information
demeritcowboy authored Jul 1, 2023
2 parents ee39fd6 + e2ba64b commit 2146204
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CRM/Admin/Form/Setting/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ public function buildQuickForm() {
public static function formRule($fields) {
$errors = [];

if (!CRM_Utils_System::checkPHPVersion(5, FALSE)) {
$errors['_qf_default'] = ts('Mapping features require PHP version 5 or greater');
}

if ($fields['mapProvider'] == 'OpenStreetMaps' && $fields['geoProvider'] == '') {
$errors['geoProvider'] = ts('Please select a Geocoding Provider - Open Street Maps does not provide geocoding.');
}
Expand Down

0 comments on commit 2146204

Please sign in to comment.