Merge pull request #2111 from nickvergessen/ticket/12262

[ticket/12262] Fix event exporter

* nickvergessen/ticket/12262:
  [ticket/12262] Do not use inline assignments
  [ticket/12262] Do not use getExtension()
  [ticket/12262] Fix location list for acp events with "Locations:"
  [ticket/12262] Also find vars array when it's defined in the trigger_event()
[prep-release-3.1.0-b1] Update version to 3.1.0-b1
[prep-release-3.1.0-b1] Add migration for 3.1.0-b1
[prep-release-3.1.0-b1] Prepare Changelog