Skip to content

Use non-deprecated form of permission definition

ayduns requested to merge ayduns/gdpr:fix_perm into master

Before:

Deprecation Warning:

[PHP User Deprecation] Permission 'access GDPR' should be declared with 'label' and 'description' keys. See https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_permission/ Caller: CRM_Core_Permission::assembleBasicPermissions at /opt/buildkit/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Error.php:1129

After:

No warning

Merge request reports

Loading