Skip to content

Introduce content id constants

Johannes requested to merge Jo-introduce-ContentId-constants into master

What does this MR do?

This is a start to replace content id numbers with constant names.

This replaces some content id numbers with constant names. This is a start with only some variables so people can add up to it in follwing merge requests.
I added the number in the var name as some numbers are very stuck in our heads and I thought this makes it easier to find.

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

Very

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))
  • 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 Chris Oelmueller

Merge request reports