public function __construct(\Elgg\Database $db, \Elgg\BootService $boot, \Elgg\Logger $logger) { global $CONFIG; $this->CONFIG = $CONFIG; $this->db = $db; $this->boot = $boot; $this->logger = $logger; }