Use public property instead of setter method to improve compatibility

pull/193/head^2
Thomas Bruederli 11 years ago
parent c946decb4e
commit 17acd5ccda

@ -44,10 +44,16 @@ class rcube_session
private $secret = '';
private $ip_check = false;
private $logging = false;
private $nowrite = false;
private $storage;
private $memcache;
/**
* Blocks session data from being written to database.
* Can be used if write-race conditions are to be expected
* @var boolean
*/
public $nowrite = false;
/**
* Default constructor
@ -729,16 +735,6 @@ class rcube_session
}
/**
* Blocks session data from being written to database.
* Can be used if write-race conditions are to be expected
*/
function nowrite($block = true)
{
$this->nowrite = $block;
}
/**
* Check session authentication cookie
*

Loading…
Cancel
Save