Remove Settings::newFromGlobals (fixed version)

This is a fixed version of change I29340093b7141b10498d2d1eaffb8125d6c9a224.

Change-Id: Idcac47914c001c426049f6bf54e3297390b44380