Closed arifje closed 2 years ago
@skoften Thanks, I was planning on this but instead include it in the poll results model.
It prevents a 'getUsers' function in twig which may conflict with other plugins, and makes the model serializable for storage after archiving.
Is that ok with you?
Sure!
Maybe it's also better to replace those twig functions (like getPoll), and change them to a variable/tag, so we can use "craft.poll.get" (or something similar).
@skoften Thanks, I was planning on this but instead include it in the poll results model.
It prevents a 'getUsers' function in twig which may conflict with other plugins, and makes the model serializable for storage after archiving.
Is that ok with you?