Remove unnecessary code
This commit is contained in:
parent
b0c2fe8f03
commit
0a65ecd96d
1 changed files with 0 additions and 2 deletions
|
@ -41,8 +41,6 @@ impl<'a> Document<'a> {
|
|||
ctx.add_value("value".into(), self.current.deref());
|
||||
ctx.add_value("after".into(), self.current.deref());
|
||||
ctx.add_value("before".into(), self.initial.deref());
|
||||
// Ensure event queries run
|
||||
let opt = &opt.perms(false);
|
||||
// Process conditional clause
|
||||
let val = ev.when.compute(&ctx, opt, txn, Some(&self.current)).await?;
|
||||
// Execute event if value is truthy
|
||||
|
|
Loading…
Reference in a new issue