CRM-6683 Avoid loading CiviCRM if not being used

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: None
    • Labels:
      None

      Description

      for some strange reason, hook_help seems to be called on drupal pages. the civicrm implementation would load a lot of civicrm for this, and hence hog memory space etc. we should not load various files for this

        Attachments

          Activity

          [CRM-6683] Avoid loading CiviCRM if not being used
          dave hansen-lange added a comment -

          I was just going to file a patch for this. This will really help scalability by not bootstrapping CiviCRM on every Drupal page.

          hook_help is fired on every page because help can be injected on any page, not just admin/help...

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Donald A. Lobo

              Dates

              • Created:
                Updated:
                Resolved: