From 36c8a26c02d71905b7ef1f01594c63b693cb44dc Mon Sep 17 00:00:00 2001
From: Michael Fürmann <michael@spicyweb.de>
Date: Tue, 03 Mar 2015 17:30:04 -0500
Subject: [PATCH] Clients limit update
---
interface/web/mail/lib/module.conf.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface/web/mail/lib/module.conf.php b/interface/web/mail/lib/module.conf.php
index 24e45d0..b6df07e 100644
--- a/interface/web/mail/lib/module.conf.php
+++ b/interface/web/mail/lib/module.conf.php
@@ -151,7 +151,7 @@
//**** XMPP Menu
$items = array();
-if($app->auth->get_client_limit($userid, 'xmppdomain') != 0)
+if($app->auth->get_client_limit($userid, 'xmpp_domain') != 0)
{
$items[] = array( 'title' => 'XMPP Domain',
'target' => 'content',
@@ -159,7 +159,7 @@
'html_id' => 'xmpp_domain_list');
}
-if($app->auth->get_client_limit($userid, 'xmppaccount') != 0)
+if($app->auth->get_client_limit($userid, 'xmpp_user') != 0)
{
$items[] = array( 'title' => 'XMPP Account',
'target' => 'content',
--
Gitblit v1.9.1