[ticket/12262] Also find vars array when it's defined in the trigger_event()

PHPBB3-12262
[ticket/12262] Fix location list for acp events with "Locations:"

PHPBB3-12262
[ticket/12262] Do not use getExtension()

The method is php 5.3.6+ only.

PHPBB3-12262
[ticket/12262] Do not use inline assignments

PHPBB3-12262
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
[prep-release-3.1.0-b1] Add changelog for 3.1.0-b1
[prep-release-3.1.0-b1] Update build version to 3.1.0-b2-dev
Merge branch 'prep-release-3.1.0-b1' into develop

* prep-release-3.1.0-b1:
  [prep-release-3.1.0-b1] Update build version to 3.1.0-b2-dev
  [prep-release-3.1.0-b1] Add changelog for 3.1.0-b1
  [prep-release-3.1.0-b1] Prepare Changelog
  [prep-release-3.1.0-b1] Add migration for 3.1.0-b1
  [prep-release-3.1.0-b1] Update version to 3.1.0-b1