DELETE FROM xf_code_event_listener
WHERE event_id = 'template_post_render'
AND callback_class <> 'Sylvain\\LlmoproV313\\Listener\\Template';
INSERT INTO xf_code_event_listener
(event_id, execute_order, description, callback_class, callback_method, active, addon_id, hint)
VALUES
('template_post_render', 10, '', 'Sylvain\\LlmoproV313\\Listener\\Template', 'templatePostRender', 1, 'Sylvain/LlmoproV313', '')
ON DUPLICATE KEY UPDATE
active = VALUES(active),
execute_order = VALUES(execute_order),
callback_method = VALUES(callback_method),
description = VALUES(description),
hint = VALUES(hint);