Skip to content
Snippets Groups Projects
Commit 3afbdc45 authored by totten's avatar totten
Browse files

api/changes - Mark "domain" and "contact" as literal symbols

parent 8952e1dd
No related branches found
No related tags found
No related merge requests found
...@@ -542,7 +542,7 @@ See also: [CRM-16373](https://issues.civicrm.org/jira/browse/CRM-16373) ...@@ -542,7 +542,7 @@ See also: [CRM-16373](https://issues.civicrm.org/jira/browse/CRM-16373)
The global variable `$civicrm_setting` is used to [override CiviCRM settings](https://wiki.civicrm.org/confluence/display/CRMDOC/Override+CiviCRM+Settings). It has been changed: The global variable `$civicrm_setting` is used to [override CiviCRM settings](https://wiki.civicrm.org/confluence/display/CRMDOC/Override+CiviCRM+Settings). It has been changed:
- In previous versions, settings were indexed by group name (e.g. `Search Preferences`). In v4.7+, settings should be indexed by entity name ("domain" or "contact"). For backward compatibility, most group names are treated as an alias for "domain" or "contact". - In previous versions, settings were indexed by group name (e.g. `Search Preferences`). In v4.7+, settings should be indexed by entity name (e.g. `domain` or `contact`). For backward compatibility, most group names are treated as an alias for `domain` or `contact`.
```php ```php
// Old/Deprecated/Verbose. Compatible with v4.1+. // Old/Deprecated/Verbose. Compatible with v4.1+.
$civicrm_setting['Search Preferences']['search_autocomplete_count'] = 10; $civicrm_setting['Search Preferences']['search_autocomplete_count'] = 10;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment