Remove deprecated templates

Find templates, which contains a configuration for SEO Dynamic Tag:

SELECT uid, pid, title, constants FROM `sys_template` WHERE title LIKE "%seodynamictag%"

SELECT uid, pid, title, constants FROM `sys_template` WHERE title LIKE "%seodynamictag%" AND constants LIKE "%plugin.tx_seodynamictag {%"

SELECT uid, pid, title, constants FROM `sys_template` WHERE constants LIKE "%plugin.tx_seodynamictag {%"

Delete

DELETE FROM `sys_template` WHERE title LIKE "%seodynamictag%" AND constants LIKE "%plugin.tx_seodynamictag {%"