Skip to content

Remove unused stats and maintenance methods

Johannes requested to merge remove-unused-stats-and-maintenance-methods into master

Part of #9 (closed)

What does this MR do?

This MR removes unused stats and maintenance methods from codebase before having the effort to refactor them for #9 (closed) model to gateway refactoring.

All these methods are kept and documented here in case we need those again

How confident are you it won't break things if deployed?

Very

Links to related issues

How to test

Steps a reviewer can take to verify that this MR does what it says it does e.g.

  1. Checkout branch locally
  2. execute these scripts in commandline
    • ./scripts/docker-compose run --rm --no-deps app php -f run.php Stats foodsaver
    • ./scripts/docker-compose run --rm --no-deps app php -f run.php Stats betriebe
    • ./scripts/docker-compose run --rm --no-deps app php -f run.php Stats bezirke
  3. Check if there are errors

Screenshots (if applicable)

No screenshot. Backend changes

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
  • Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Johannes

Merge request reports