From d6c1a1af9db1d30636d53018f5d353ca1d1b4916 Mon Sep 17 00:00:00 2001 From: Bartlomiej Nogas Date: Mon, 20 Oct 2014 21:05:16 +0200 Subject: Move plugin configuration to config.inc.php.dist --- plugins/new_user_identity/new_user_identity.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'plugins/new_user_identity/new_user_identity.php') diff --git a/plugins/new_user_identity/new_user_identity.php b/plugins/new_user_identity/new_user_identity.php index 4dbca3aab..d1d1d9f24 100644 --- a/plugins/new_user_identity/new_user_identity.php +++ b/plugins/new_user_identity/new_user_identity.php @@ -9,17 +9,6 @@ * @version @package_version@ * @author Kris Steinhoff * @license GNU GPLv3+ - * - * Example configuration: - * - * // The id of the address book to use to automatically set a new - * // user's full name in their new identity. (This should be an - * // string, which refers to the $config['ldap_public'] array.) - * $config['new_user_identity_addressbook'] = 'People'; - * - * // When automatically setting a new users's full name in their - * // new identity, match the user's login name against this field. - * $config['new_user_identity_match'] = 'uid'; */ class new_user_identity extends rcube_plugin { @@ -73,6 +62,7 @@ class new_user_identity extends rcube_plugin } $rcmail = rcmail::get_instance(); + $this->load_config(); $addressbook = $rcmail->config->get('new_user_identity_addressbook'); $ldap_config = (array)$rcmail->config->get('ldap_public'); -- cgit v1.2.3