mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove commented code
This commit is contained in:
parent
b0cd39c53a
commit
0bd43b2e39
@ -201,12 +201,7 @@ async function writeHomeCommunityEnries(pubKey: any): Promise<CommunityApi[]> {
|
||||
try {
|
||||
// first remove privious existing homeCommunity entries
|
||||
DbCommunity.createQueryBuilder().delete().where({ foreign: false }).execute()
|
||||
/*
|
||||
const homeComs = await DbCommunity.find({ foreign: false })
|
||||
if (homeComs.length > 0) {
|
||||
await DbCommunity.remove(homeComs)
|
||||
}
|
||||
*/
|
||||
|
||||
homeApiVersions.forEach(async function (homeApi) {
|
||||
const homeCom = new DbCommunity()
|
||||
homeCom.foreign = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user