aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notification/method/jabber.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/notification/method/jabber.php')
-rw-r--r--phpBB/includes/notification/method/jabber.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/notification/method/jabber.php b/phpBB/includes/notification/method/jabber.php
index 9232d8fc45..664e387d61 100644
--- a/phpBB/includes/notification/method/jabber.php
+++ b/phpBB/includes/notification/method/jabber.php
@@ -36,7 +36,7 @@ class phpbb_notification_method_jabber extends phpbb_notification_method_email
*/
public function is_available()
{
- return ($this->global_available() && $this->phpbb_container->get('user')->data['jabber']);
+ return ($this->global_available() && $this->user->data['jabber']);
}
/**
@@ -45,9 +45,7 @@ class phpbb_notification_method_jabber extends phpbb_notification_method_email
*/
public function global_available()
{
- $config = $this->phpbb_container->get('config');
-
- return ($config['jab_enable'] && @extension_loaded('xml'));
+ return ($this->config['jab_enable'] && @extension_loaded('xml'));
}
public function notify()