Convert imp from global $conf to ImpConfig
#114 · PHP · ★ 26 · GPL-2.0 · updated 15d ago
This is a low hanging fruit. Old Pattern: global Pattern a: global $conf; if (empty($conf['holidays']['enable'])) { // whatever} Pattern b: if (empty($GLOBALS['conf'][holidays]['enable'])) { // whatever} New Pattern: ImpConfig At the top of file: use Horde\Imp\ImpConfig; At the…
replies in ~42h15/15 outside PRs mergednobody circling
Cleared 3m ago