Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15132

Drupal-code being called from CiviCRM

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.6
    • Fix Version/s: 4.7
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None

      Description

      On ~line 622 of CRM/Core/BAO/Navigation.php, something that looks like:

      ($config->userSystem->is_drupal) &&
      ((module_exists('toolbar') && user_access('access toolbar')) ||
      module_exists('admin_menu') && user_access('access administration menu')
      )

      This is obviously bad for lots of reasons. CiviCRM should basically never call into Drupal. In my case, it's attempting to call functions that no longer exist in Drupal 8.

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              torrance123 Torrance
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: