CRM-11925 - Extract Drupal::filterPermissions from Drupal::getModulePermissions
authorTim Otten <totten@civicrm.org>
Thu, 7 Mar 2013 08:55:50 +0000 (03:55 -0500)
committerTim Otten <totten@civicrm.org>
Fri, 8 Mar 2013 01:16:26 +0000 (20:16 -0500)
commit268dc2bd1399524f5b34523e24ca6a163ded87d2
tree5c6152c3e6ff35c18e22f9fa9bae2538893dca4c
parent39299773df59bf28ea05c752e8a8e69bb68b2a31
CRM-11925 - Extract Drupal::filterPermissions from Drupal::getModulePermissions

Permission-enumeration is only being used with Civi ext-modules, so the
hook-invocation can be done in another (more portable) spot. However,
the string-length-limit appears to be specific to D7's permission-store,
so it'll need to stay in this class (as "filterPermissions").
CRM/Core/Permission/Drupal.php