From 3ebac0167bf20104fb7a2a55934765117760264c Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 18 Aug 2014 03:53:18 -0400 Subject: [PATCH] Only add zen-mode text labels in compose step --- plugins/new_user_identity/new_user_identity.php | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/plugins/new_user_identity/new_user_identity.php b/plugins/new_user_identity/new_user_identity.php index f98145b..3943134 100644 --- a/plugins/new_user_identity/new_user_identity.php +++ b/plugins/new_user_identity/new_user_identity.php @@ -8,17 +8,18 @@ * * @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 $rcmail_config['ldap_public'] array.) - * $rcmail_config['new_user_identity_addressbook'] = 'People'; + * // 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. - * $rcmail_config['new_user_identity_match'] = 'uid'; + * $config['new_user_identity_match'] = 'uid'; */ class new_user_identity extends rcube_plugin { @@ -33,8 +34,6 @@ function lookup_user_name($args) { - $rcmail = rcmail::get_instance(); - if ($this->init_ldap($args['host'])) { $results = $this->ldap->search('*', $args['user'], true); if (count($results->records) == 1) { -- Gitblit v1.9.1