HomeWildfire Games

Remove user.cfg from javascript
AuditedrP27192

Description

Remove user.cfg from javascript

remove path from javascript
path is defined by the configuration scope

combine some calls
remove not needed calls

Differential revision: D4616
Accepted by: @Freagarach, @nani
Comments by: @phosit

Event Timeline

phosit raised a concern with this commit.Nov 3 2022, 3:02 PM
phosit added inline comments.
/ps/trunk/binaries/data/mods/public/gui/session/AutoFormation.js
41

ConfigDB_ is doubled.
Freagarach already mentioned it in the diff.

This commit now has outstanding concerns.Nov 3 2022, 3:02 PM
Silier requested verification of this commit.Nov 3 2022, 5:47 PM
This commit now requires verification by auditors.Nov 3 2022, 5:47 PM
phosit accepted this commit.Nov 4 2022, 9:30 PM
All concerns with this commit have now been addressed.Nov 4 2022, 9:30 PM
Stan raised a concern with this commit.EditedDec 11 2022, 6:05 PM
Stan added a subscriber: Stan.
Engine.ConfigDB_WriteValueToFile is not a function
  setCurrent@gui/common/campaigns/CampaignRun.js:85:10
  createAndStartCampaign@gui/campaigns/new_modal/NewCampaignModal.js:28:5
  @gui/campaigns/new_modal/NewCampaignModal.js:13:65</p>

You forgot to update CampaignRun.js. Noted by a potential future contributor.

This commit now has outstanding concerns.Dec 11 2022, 6:05 PM
Silier requested verification of this commit.Dec 27 2022, 12:14 PM
This commit now requires verification by auditors.Dec 27 2022, 12:14 PM
Stan accepted this commit.Dec 27 2022, 12:19 PM
All concerns with this commit have now been addressed.Dec 27 2022, 12:19 PM