forked from extern/egroupware
fixed deletion of sieve vacation message when editing sieve rules
This commit is contained in:
parent
eec7a40444
commit
b09e764ad0
@ -107,13 +107,5 @@
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateScript($_scriptName, $_rules) {
|
|
||||||
$script =& CreateObject('felamimail.Script',$_scriptName);
|
|
||||||
$script->rules = $_rules;
|
|
||||||
$result = $script->updateScript($this);
|
|
||||||
|
|
||||||
return $result;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -909,7 +909,7 @@
|
|||||||
|
|
||||||
function updateScript()
|
function updateScript()
|
||||||
{
|
{
|
||||||
if (!$this->bosieve->updateScript($this->scriptToEdit, $this->rules)) {
|
if (!$this->bosieve->setRules($this->scriptToEdit, $this->rules)) {
|
||||||
print "update failed<br>";exit;
|
print "update failed<br>";exit;
|
||||||
#LK print $script->errstr."<br>";
|
#LK print $script->errstr."<br>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user