From 6d46e0c9f2dc534b724725a86dfb0498cccec833 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 17 Oct 2012 13:43:08 +0200 Subject: [PATCH] More Roundcube Framework related fixes --- plugins/kolab_auth/kolab_auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php index bea3ae7d..620def53 100644 --- a/plugins/kolab_auth/kolab_auth.php +++ b/plugins/kolab_auth/kolab_auth.php @@ -244,7 +244,7 @@ class kolab_auth extends rcube_plugin 'type' => 'text', 'autocomplete' => 'off')); $row = html::tag('tr', null, html::tag('td', 'title', html::label('rcmloginas', Q($this->gettext('loginas')))) - . html::tag('td', 'input', $input->show(trim(get_input_value('_loginas', RCUBE_INPUT_POST)))) + . html::tag('td', 'input', $input->show(trim(rcube_utils::get_input_value('_loginas', rcube_utils::INPUT_POST)))) ); $args['content'] = preg_replace('/<\/tbody>/i', $row . '', $args['content']); @@ -271,10 +271,10 @@ class kolab_auth extends rcube_plugin $email_attr = $rcmail->config->get('kolab_auth_email'); // get username and host - $host = rcube_parse_host($args['host']); + $host = rcube_utils::parse_host($args['host']); $user = $args['user']; $pass = $args['pass']; - $loginas = trim(get_input_value('_loginas', RCUBE_INPUT_POST)); + $loginas = trim(rcube_utils::get_input_value('_loginas', rcube_utils::INPUT_POST)); if (empty($user) || empty($pass)) { $args['abort'] = true;