Explicitly pass database pointers to repository methods

This commit is contained in:
Akkadius
2021-02-05 23:00:27 -06:00
parent 7fe0bbacd4
commit e8ab176d4a
167 changed files with 2738 additions and 1938 deletions
+1 -1
View File
@@ -3447,7 +3447,7 @@ bool TaskGoalListManager::LoadLists()
list_index++;
}
auto goal_lists = GoallistsRepository::GetWhere("TRUE ORDER BY listid, entry ASC");
auto goal_lists = GoallistsRepository::GetWhere(content_db, "TRUE ORDER BY listid, entry ASC");
for (list_index = 0; list_index < NumberOfLists; list_index++) {