roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve.php
public function get_scripts()
    {
        if (!$this->list) {

            if (!$this->sieve)
                return $this->_set_error(self::ERROR_INTERNAL);

            $list = $this->sieve->listScripts($active);

            if (is_a($list, 'PEAR_Error')) {
                return $this->_set_error(self::ERROR_OTHER);
            }

            $this->list   = $list;
            $this->active = $active;
        }

        return $this->list;
    }
public function get_scripts()
    {
        if (!$this->list) {

            if (!$this->sieve)
                return $this->_set_error(self::ERROR_INTERNAL);

            $list = $this->sieve->listScripts($active);

            if (is_a($list, 'PEAR_Error')) {
                return $this->_set_error(self::ERROR_OTHER);
            }

            $this->list   = $list;
            $this->active = $active;
        }

        return $this->list;
    }
public function get_scripts ( ) { if ( ! $ this -> list ) { if ( ! $ this -> sieve ) return $ this -> _set_error ( self :: ERROR_INTERNAL ) ; $ list = $ this -> sieve -> listScripts ( $ active ) ; if ( is_a ( $ list , 'PEAR_Error' ) ) { return $ this -> _set_error ( self :: ERROR_OTHER ) ; } $ this -> list = $ list ; $ this -> active = $ active ; } return $ this -> list ; }
Gets list of scripts from server
Gets list of scripts from server