Created defer_consent module

This commit is contained in:
Nathan Schneider
2021-12-22 22:22:17 -07:00
parent fa50a59938
commit 44c3e41b81
7 changed files with 65 additions and 8 deletions

View File

@ -25,7 +25,6 @@ function randomizer:initiate(result)
if #self.data.options_table == 0 or self.config.num_results == 0 then
if self.data.result then
self.data.result({}) end
self.org:wipe_pending_actions(self.id)
self.org:delete_process(self.id)
else
-- otherwise, choose a random result