First thing getStore() does is $configuration = Settings::newFromGlobals();
But I did not test it either. In fact I first developed this for 1.8 and for this patch just replaced the 1.8 function call with the respective 1.9 call. I'll test it later today. Or maybe just use the param.