croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
197 stars 20 forks source link

Fixing deprecated assign_variables fxn #162

Closed dougblackjr closed 6 years ago

dougblackjr commented 6 years ago

This changes the assign_variables function, which is deprecated, to use ee('Variables/Parser')->extractVariables(), on the ee3 branch.

croxton commented 6 years ago

Hi Doug, I've fixed this on the EE3 branch. I added a conditional so Stash remains compatible with both EE3 and EE4.