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

Don't CRM_Core_Invoke::rebuildMenuAndCaches(TRUE) on every Drupal module enable / disable

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      civicrm.module calls CRM_Core_Invoke::rebuildMenuAndCaches(TRUE) for all of hook_modules_(enabled|disabled|installed|uninstalled).

      Especially on sites with logging enabled, this can introduce a substantial delay while triggers are rebuilt dynamically if you enable / disable an unrelated module.

      By identifying CiviCRM-related modules, we could eliminate that delay for unrelated site changes.

        Attachments

          Activity

            People

            • Assignee:
              xurizaemon Chris Burgess
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: