localisation: Inject 'directory' option to LCStore classes
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 6 May 2019 21:52:52 +0000 (22:52 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 14 May 2019 16:35:29 +0000 (16:35 +0000)
commit7630e2bdb470454cd88a55379b8b99eedd29a72c
tree71ce2f86d316d854a416b28d1e3b5ac56855664f
parentacb2456200d01371bd30ba72b5fc5ebd280d3386
localisation: Inject 'directory' option to LCStore classes

Avoid globals for this, inject them from the factory function instead.

Bug: T218207
Change-Id: Ia961e8e08dcf1ca154d74ea6a3dadd2d59c1299c
includes/cache/localisation/LCStoreCDB.php
includes/cache/localisation/LCStoreStaticArray.php
includes/cache/localisation/LocalisationCache.php