Thomas Bruederli
2014-05-27 17acd5ccda5b23792477891ab969b378cacbbaf2
Use public property instead of setter method to improve compatibility
1 files modified
18 ■■■■■ changed files
program/lib/Roundcube/rcube_session.php 18 ●●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_session.php
@@ -44,9 +44,15 @@
    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;
    /**
@@ -726,16 +732,6 @@
        if ($cookiename) {
            $this->cookiename = $cookiename;
        }
    }
    /**
     * 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;
    }