backdrop-contrib / seo_meta

SEO Meta Tags module for Backdrop CMS
GNU General Public License v2.0
4 stars 1 forks source link

change _insert() to _presave #20

Closed robertgarrigos closed 6 years ago

robertgarrigos commented 6 years ago

This fixes #19

I cannot see the reason why the seo_meta_node_presave() function, which acts when node is being inserted AND updated, was changed to seo_meta_node_insert() wich doesn't take place when updating the node. Without this change, og images added during node update doesn't get marked as permanent thus deleted during cron runs.