Skip to content

Remove old Db dependency from several classes

Alex requested to merge 9-db-refactoring into master

Part of #9 (closed)

What does this MR do?

Removes the old Db class from some files where it was still imported but mostly not used. These are some of the minor points in the list of #9 (closed).

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

Quite sure about all of them except inc.php, where it was used as a global variable. I couldn't find any usage of that, though.

How to test

I have no clue...

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

Merge request reports