Problem/Motivation

When command "drush purge-control disable-purge" is used as a result user see:

 [notice] Purging is disabled
 [success] Purging is disabled.

When command "drush purge-control enable-purge" is used as a result user see:

 [notice] Purging is enabled
 [success] Purging is enabled.

Repeated messages confuse users. One message should be shown only.

CommentFileSizeAuthor
purge_control_drush.png47.35 KBsinn
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sinn created an issue. See original summary.

sinn’s picture

Status: Active » Needs review

PR is provided. I've tried to do all messages consistent, so they are all of type "notice" with dot at the end.

  • sinn committed 2d69ec8 on 1.x
    Issue #3239994: Message that purge is disabled/enabled is shown twice in...
guptahemant’s picture

Status: Needs review » Fixed

hi @sinn

Thank you for highlighting the use case and providing the solution. I have merged the code in 1.x branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.