Skip to content

Commit

Permalink
Need to set script inactive before removing it (Bug #13297).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 1, 2014
1 parent 2681e25 commit afce2fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ingo/lib/Transport/Timsieved.php
Expand Up @@ -120,6 +120,7 @@ public function setScriptActive($script)
$this->_connect();

if (!strlen($script['script'])) {
Ingo_Exception_Pear::catchError($this->_sieve->setActive(''));
Ingo_Exception_Pear::catchError($this->_sieve->removeScript($script['name']));
return;
}
Expand Down

0 comments on commit afce2fb

Please sign in to comment.