roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve.php
public function deactivate()
    {
        if (!$this->sieve) {
            return $this->_set_error(self::ERROR_INTERNAL);
        }

        $result = $this->sieve->setActive('');

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

        $this->active = null;

        return true;
    }
public function deactivate()
    {
        if (!$this->sieve) {
            return $this->_set_error(self::ERROR_INTERNAL);
        }

        $result = $this->sieve->setActive('');

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

        $this->active = null;

        return true;
    }
public function deactivate ( ) { if ( ! $ this -> sieve ) { return $ this -> _set_error ( self :: ERROR_INTERNAL ) ; } $ result = $ this -> sieve -> setActive ( '' ) ; if ( is_a ( $ result , 'PEAR_Error' ) ) { return $ this -> _set_error ( self :: ERROR_DEACTIVATE ) ; } $ this -> active = null ; return true ; }
De-activates specified script
De - activates specified script