Skip to content

Commit

Permalink
Clean up sieve transport constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jan 15, 2015
1 parent 0353473 commit fa0aabe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ingo/lib/Transport/Timsieved.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,16 @@ class Ingo_Transport_Timsieved extends Ingo_Transport_Base
*/
protected $_sieve;

/**
*/
protected $_supportShares = true;

/**
* Constructor.
*/
public function __construct(array $params = array())
{
$default_params = array(
parent::__construct(array_merge(array(
'admin' => '',
'debug' => false,
'euser' => '',
Expand All @@ -45,11 +49,7 @@ public function __construct(array $params = array())
'port' => 4190,
'scriptname' => 'ingo',
'usetls' => true
);

$this->_supportShares = true;

parent::__construct(array_merge($default_params, $params));
), $params));
}

/**
Expand All @@ -74,7 +74,7 @@ protected function _connect()
$this->_params['port'],
$this->_params['logintype'],
$this->_params['euser'],
$this->_params['debug'],
!empty($this->_params['debug']),
false,
$this->_params['usetls'],
null,
Expand Down

0 comments on commit fa0aabe

Please sign in to comment.