From dea6887201b0dd343c3c4f933342a051cdd1ac9d Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 8 Mar 2013 06:04:09 -0500 Subject: [PATCH] CRM-11925 - Add comments to explain why D6 works with empty permission functions --- CRM/Core/Permission/Drupal6.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CRM/Core/Permission/Drupal6.php b/CRM/Core/Permission/Drupal6.php index 1aaa4adf20..63d703b950 100644 --- a/CRM/Core/Permission/Drupal6.php +++ b/CRM/Core/Permission/Drupal6.php @@ -149,12 +149,20 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase { return $_cache[$permissionName]; } + /** + * {@inheritDoc} + */ + public function isModulePermissionSupported() { + return TRUE; + } + /** * Remove all vestiges of permissions for the given module. * * Does nothing in Drupal 6. */ function uninstallPermissions($module) { + // D6 allows us to be really lazy... things get cleaned up when the admin form is next submitted... } /** @@ -163,6 +171,7 @@ class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase { * Does nothing in Drupal 6. */ function upgradePermissions($permissions) { + // D6 allows us to be really lazy... things get cleaned up when the admin form is next submitted... } /** -- 2.25.1