Running core:delete-logs-data with option --no-interaction doesn't do anything #9316
Labels
c: Usability
For issues that let users achieve a defined goal more effectively or efficiently.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
When I run the command:
./console core:delete-logs-data --dates=2015-11-20,2015-11-23
it asks the following question:You are about to delete log data. This action cannot be undone, are you sure you want to continue? (Y/N)
which defaults to NoThis is fine, but when I add the option
--no-interaction
it still defaults to No so doesn't do anything.I could not find a setting for this, so I changed the function
askForDeleteConfirmation
inplugins/CoreAdminHome/Commands/DeleteLogsData.php
to thisCould this fix be added in a next release?
The text was updated successfully, but these errors were encountered: