Reset the Content viewing counter statistics via Drush

Created on 31 March 2020, over 4 years ago
Updated 7 June 2024, 6 months ago

Problem/Motivation

It would be great, if it was possible to reset the Drupal core Statistics counter enabled under admin/config/system/statistics via Drush. The alternative would be to uninstall and reinstall the Drupal core Statistics module, which might have unintended consequences.

Proposed resolution

Perhaps add something like drush core:statistics:reset?

Remaining tasks

Update the code, adding the Drush command.

User interface changes

None.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇰Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024