HomePhabricator

Fix EventLogging schema dependencies

Authored by Krenair.

Description

Fix EventLogging schema dependencies

Fixes Iba22cb40

The first two entries in the getEventLoggingSchemas() returned array would
be ignored, because of how PHP array addition works:

var_dump( array(
'mobile.startup',
'mobile.settings'
) + array(
'MobileWebBrowse',
'MobileWebDiffClickTracking',
'MobileWebMainMenuClickTracking'
) );

Result:
array(3) {

[0]=>
string(14) "mobile.startup"
[1]=>
string(15) "mobile.settings"
[2]=>
string(30) "MobileWebMainMenuClickTracking"

}

Isn't PHP great?

Bug: T110272
Change-Id: I623f6182c2012fa5a16b1e18b9083517ba50ebae

Details