global_available() && $this->phpbb_container->get('user')->data['jabber']); } /** * Is this method available at all? * This is checked before notifications are sent */ public function global_available() { $config = $this->phpbb_container->get('config'); return ($config['jab_enable'] && @extension_loaded('xml')); } public function notify() { if (!$this->global_available()) { return; } return parent::notify(); } }