backdrop-contrib / backdrop-drush-extension

A set of commands and boot class for Drush and Backdrop CMS.
GNU General Public License v2.0
14 stars 18 forks source link

Cache not (always) cleared with updates #153

Closed opi closed 4 years ago

opi commented 6 years ago

From https://github.com/backdrop/backdrop-issues/issues/3294#issuecomment-423778432

Relevant quote:

Drush do not clear cache when there are no updates https://github.com/backdrop-contrib/drush/blob/1.x-0.x/includes/update.inc#L237

serundeputy commented 5 years ago

Why would you expect/need cache to be cleared on drush updb if there are no updates?

opi commented 5 years ago

Probably to be consistent with the update.php behavior, which clear the cache anyway. See https://github.com/backdrop/backdrop-issues/issues/3294#issuecomment-423744239

serundeputy commented 4 years ago

I think this https://github.com/backdrop-contrib/backdrop-drush-extension/pull/158/files corrected this issue.

closing. re-open if i'm incorrect.