I'm not entirely sure if this is useful to a lot of people and if this is the best way to implement it, but it seemed like a nice thing for people to be able to ignore specific warnings in their setup and not having to ignore them (and potentially miss others).
@Findus23 that should already be possible by having a config.php like
<?php return [ 'diagnostics.disabled' => DI\add(['Piwik\Plugins\Diagnostics\Diagnostic\CronArchivingCheck']) ];
@sgiehl Many thanks for the info, I totally missed that. This indeed makes this change useless and is also more elegant.
How would someone do this without creating a custom plugin?
Can one place a
config.php directly into the config directory? It doesn't seem to work for me.
Maybe this could be documented in a very short page on developer.matomo.org
Haven't tested it. but it should work in a config.php in the config directory 🤔
Seems it needs to be defined this way:
<?php return [ 'diagnostics.disabled' => DI\add([DI\get('Piwik\Plugins\Diagnostics\Diagnostic\CronArchivingCheck')]) ];
This works :+1: