Move message after clear cache in controller

Created on 2 November 2024, 19 days ago

Problem/Motivation

Currently the flushAll() method of the NavigationExtraToolsController class adds the status message, then calls drupal_flush_all_caches(). All the other methods perform the action, then adds the status message, which seems a more logical order.

Steps to reproduce

Review the controller.

Proposed resolution

Swap the order of the messagenger->addmessage() and drupal_flush_all_caches().

Remaining tasks

  • Make the change to the controller.
  • Ensure tests still pass.

User interface changes

None.

API changes

None.

Data model changes

None.

๐Ÿ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ชIreland lostcarpark

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024