From d8a826dc8bdee44c2dc633170c1274979ebacf81 Mon Sep 17 00:00:00 2001 From: rollox Date: Thu, 31 Mar 2016 00:04:19 +0100 Subject: [PATCH] CRM-18317 - Links to Drupal system broken if hook altered by a module Let Drupal (6 or 7) handle the generation of system links to 'admin/.../permissions' so that the urls can be hook altered if necessary by modules like Rename Admin Paths: https://www.drupal.org/project/rename_admin_paths --- CRM/Admin/Page/Access.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Admin/Page/Access.php b/CRM/Admin/Page/Access.php index e7fa0e7bf0..588095af65 100644 --- a/CRM/Admin/Page/Access.php +++ b/CRM/Admin/Page/Access.php @@ -45,11 +45,11 @@ class CRM_Admin_Page_Access extends CRM_Core_Page { switch ($config->userFramework) { case 'Drupal': - $this->assign('ufAccessURL', CRM_Utils_System::url('admin/people/permissions')); + $this->assign('ufAccessURL', url('admin/people/permissions')); break; case 'Drupal6': - $this->assign('ufAccessURL', CRM_Utils_System::url('admin/user/permissions')); + $this->assign('ufAccessURL', url('admin/user/permissions')); break; case 'Joomla': -- 2.25.1