From 6a013fe8751f5e597959ad801aa9f30636324b09 Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Wed, 19 Aug 2026 22:41:36 +0200 Subject: [PATCH] Clear watermark cache after album rule changes --- tools/album_rules.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/album_rules.inc.php b/tools/album_rules.inc.php index 101767a..4046c24 100644 --- a/tools/album_rules.inc.php +++ b/tools/album_rules.inc.php @@ -61,6 +61,7 @@ function bratonien_tools_save_album_rule() ))); } + bratonien_tools_clear_watermark_cache(); return array('message'=>'Albumregel gespeichert.'); } @@ -97,9 +98,6 @@ function bratonien_tools_resolve_album_rule($category_id, array $categories, arr $root = $by_id[$category_id] ?? null; $is_private = $root && isset($root['status']) && $root['status'] === 'private'; - // Privat ist eine Vererbungsgrenze. Eine direkt auf diesem privaten Album - // gesetzte Regel bleibt moeglich, aber Regeln oeffentlicher Eltern duerfen - // nicht in ein privates Album hineinvererbt werden. if ($is_private) { if (isset($rules[$category_id]))