Skip to content

Converted two maintenance methods to gateway

Johannes requested to merge JO-converted-maintenance-methods-to-gateway into master

What does this MR do?

Converted two nightly maintenance methods into gateway as I like to do this in small steps

  • deactivateOldBaskets()
  • deleteUnconfirmedFetchDates()

The deactivateOldBaskets() method always returned 1 deleted basket at the logfile instead of showing the actual number. Got fixed by refactoring and checked by extending a test.

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

Should work

Links to related issues

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))
Edited by Chris Oelmueller

Merge request reports