public function gc($maxlifetime)
    {
        foreach (Kwf_Registry::get('db')->query("SELECT sessionId FROM kwf_sessions WHERE expiration < ?", time())->fetchAll() as $r) {
            $this->destroy($r['sessionId']);
        }
        return true;
    }
public function gc($maxlifetime)
    {
        foreach (Kwf_Registry::get('db')->query("SELECT sessionId FROM kwf_sessions WHERE expiration < ?", time())->fetchAll() as $r) {
            $this->destroy($r['sessionId']);
        }
        return true;
    }
public function gc ( $ maxlifetime ) { foreach ( Kwf_Registry :: get ( 'db' ) -> query ( "SELECT sessionId FROM kwf_sessions WHERE expiration < ?" , time ( ) ) -> fetchAll ( ) as $ r ) { $ this -> destroy ( $ r [ 'sessionId' ] ) ; } return true ; }
called by the garbage collector

@param int $maxlifetime
@return bool
called by the garbage collector