roundcubemail/program/lib/Roundcube/rcube.php
public function gc_run()
    {
        $probability = (int) ini_get('session.gc_probability');
        $divisor     = (int) ini_get('session.gc_divisor');

        if ($divisor > 0 && $probability > 0) {
            $random = mt_rand(1, $divisor);
            if ($random <= $probability) {
                $this->gc();
            }
        }
    }
public function gc_run()
    {
        $probability = (int) ini_get('session.gc_probability');
        $divisor     = (int) ini_get('session.gc_divisor');

        if ($divisor > 0 && $probability > 0) {
            $random = mt_rand(1, $divisor);
            if ($random <= $probability) {
                $this->gc();
            }
        }
    }
public function gc_run ( ) { $ probability = ( int ) ini_get ( 'session.gc_probability' ) ; $ divisor = ( int ) ini_get ( 'session.gc_divisor' ) ; if ( $ divisor > 0 && $ probability > 0 ) { $ random = mt_rand ( 1 , $ divisor ) ; if ( $ random <= $ probability ) { $ this -> gc ( ) ; } } }
Runs garbage collector with probability based on
session settings. This is intended for environments
without a session.
Runs garbage collector with probability based on session settings . This is intended for environments without a session .