[ticket/11599] Copy the forums into a static array for later reuse

PHPBB3-11599
Merge remote-tracking branch 'nickvergessen/ticket/11599' into develop

* nickvergessen/ticket/11599:
  [ticket/11599] Copy the forums into a static array for later reuse