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

Provide single-click option to cleanup all caches and rebuild menu

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.5, 4.0.5
    • Fix Version/s: 4.1.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Site admins need an easy way to clear all cache tables, cleanup template caches and rebuild the menus.

      1. Insert button on the "Update Directory Path and URL" form (CRM/Admin/Form/Setting/UpdateConfigBackend).
      Button title = "Cleanup Caches"
      onclick = execute:
      $config->cleanupCaches( );

      Place button on top of form and remove the top Save and Cancel buttons.

      2. Modify menu title from 'Update Directory Path and URL' to 'Cleanup Caches and Update Paths'

      • modify for new installs
      • modify for upgrade

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: