plugins/kolab_auth

Aleksander Machniak machniak at kolabsys.com
Wed Oct 17 13:43:27 CEST 2012


 plugins/kolab_auth/kolab_auth.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6d46e0c9f2dc534b724725a86dfb0498cccec833
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Wed Oct 17 13:43:08 2012 +0200

    More Roundcube Framework related fixes

diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index bea3ae7..620def5 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 . '</tbody>', $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;





More information about the commits mailing list