Currently form_builder_cache_purge has conditions for $form_type and $form_id but they are not in scope. This patch removes those those conditions and turns that function into more of a global purge and adds a function to purge a single form.

CommentFileSizeAuthor
#1 form_builder_cache-1706816-2.patch901 bytesindytechcook

Comments

indytechcook’s picture

Status: Active » Needs review
StatusFileSize
new901 bytes

Patch attached

quicksketch’s picture

Thanks! Good call. I'll review when I get a chance.

quicksketch’s picture

Status: Needs review » Fixed

Thanks! I've removed the lines for non-existent variables but I didn't add form_builder_cache_purge_form(), since form_builder_cache_delete() does the exact same thing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.