From 7c8c7ab98a17fc8df25793d02bbedbe15652c311 Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Wed, 19 Aug 2026 22:42:24 +0200 Subject: [PATCH] Purge stale watermark cache once on 0.9.7.13 --- main.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/main.inc.php b/main.inc.php index 629c2bf..a6d7950 100644 --- a/main.inc.php +++ b/main.inc.php @@ -34,6 +34,7 @@ add_event_handler('get_src_image_url', 'bratonien_tools_filter_webdav_src_url', add_event_handler('get_derivative_url', 'bratonien_tools_filter_webdav_gallery_derivative_url', EVENT_HANDLER_PRIORITY_NEUTRAL + 50, 4); add_event_handler('loc_end_element_set_global', 'bratonien_tools_batch_titles_register_action'); add_event_handler('element_set_global_action', 'bratonien_tools_batch_titles_apply', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); +add_event_handler('init', 'bratonien_tools_watermark_cache_upgrade', EVENT_HANDLER_PRIORITY_NEUTRAL - 40); add_event_handler('init', 'bratonien_tools_prepare_connector_private_import', EVENT_HANDLER_PRIORITY_NEUTRAL - 30); add_event_handler('init', 'bratonien_tools_prepare_private_album_permissions', EVENT_HANDLER_PRIORITY_NEUTRAL - 20); add_event_handler('init', 'bratonien_tools_preserve_private_album_access', EVENT_HANDLER_PRIORITY_NEUTRAL - 10);