installer: Add a defined check to overrideConfig method
authorSamuel Hilson <samrhilson@gmail.com>
Tue, 28 May 2019 19:29:59 +0000 (14:29 -0500)
committerD3r1ck01 <xsavitar.wiki@aol.com>
Thu, 27 Jun 2019 14:46:18 +0000 (14:46 +0000)
commit9d585dcc6d8010eb2c874c31e8b7e5d30cdc045a
tree99d03dda4d82b125a5766043af089c46e42f5af3
parent2c3694463a02bae9102bfe76b8baeafb924d33a8
installer: Add a defined check to overrideConfig method

overrideConfig is a public static method and can be called multiple
times by other processes but does not check that the constant
`MW_NO_SESSION_HANDLER` is defined before attempting to set it.

Bug: T224287
Change-Id: I01bcbd36ec001a5c55c2acebb24c44df3d3d3277
includes/installer/Installer.php