Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
navigation_extra_tools
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
navigation_extra_tools
Commits
8c60ebff
Commit
8c60ebff
authored
5 months ago
by
sayan_k_dutta
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3485182
: Moved the message code after clear cache code.
parent
7ba1d8af
No related branches found
No related tags found
1 merge request
!14
Issue #3485182: Moved the message code after clear cache code.
Pipeline
#329939
passed
5 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Controller/NavigationExtraToolsController.php
+1
-1
1 addition, 1 deletion
src/Controller/NavigationExtraToolsController.php
with
1 addition
and
1 deletion
src/Controller/NavigationExtraToolsController.php
+
1
−
1
View file @
8c60ebff
...
@@ -104,8 +104,8 @@ final class NavigationExtraToolsController extends ControllerBase {
...
@@ -104,8 +104,8 @@ final class NavigationExtraToolsController extends ControllerBase {
* Flushes all caches.
* Flushes all caches.
*/
*/
public
function
flushAll
()
{
public
function
flushAll
()
{
$this
->
messenger
()
->
addMessage
(
$this
->
t
(
'All caches cleared.'
));
drupal_flush_all_caches
();
drupal_flush_all_caches
();
$this
->
messenger
()
->
addMessage
(
$this
->
t
(
'All caches cleared.'
));
return
new
RedirectResponse
(
$this
->
reloadPage
());
return
new
RedirectResponse
(
$this
->
reloadPage
());
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment