Changeset 4821 in subversion


Ignore:
Timestamp:
May 31, 2011 1:24:24 PM (2 years ago)
Author:
alec
Message:
Location:
trunk/plugins/managesieve
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/managesieve/Changelog

    r4820 r4821  
    11- Fixed handling of error in Net_Sieve::listScripts() 
     2- Fixed handling of REFERRAL responses (http://pear.php.net/bugs/bug.php?id=17107) 
    23 
    34* version 4.2 [2011-05-24] 
  • trunk/plugins/managesieve/lib/Net/Sieve.php

    r4564 r4821  
    297297    function connect($host, $port, $options = null, $useTLS = true) 
    298298    { 
     299        $this->_data['host'] = $host; 
     300        $this->_data['port'] = $port; 
     301        $this->_useTLS       = $useTLS; 
     302        if (!empty($options) && is_array($options)) { 
     303            $this->_options = array_merge($this->_options, $options); 
     304        } 
     305 
    299306        if (NET_SIEVE_STATE_DISCONNECTED != $this->_state) { 
    300307            return PEAR::raiseError('Not currently in DISCONNECTED state', 1); 
     
    360367    function login($user, $pass, $logintype = null, $euser = '', $bypassAuth = false) 
    361368    { 
     369        $this->_data['user']      = $user; 
     370        $this->_data['pass']      = $pass; 
     371        $this->_data['logintype'] = $logintype; 
     372        $this->_data['euser']     = $euser; 
     373        $this->_bypassAuth        = $bypassAuth; 
     374 
    362375        if (NET_SIEVE_STATE_AUTHORISATION != $this->_state) { 
    363376            return PEAR::raiseError('Not currently in AUTHORISATION state', 1); 
Note: See TracChangeset for help on using the changeset viewer.