From 614fff434df2b5e8259ba1bed50510ed4d73301b Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Thu, 6 Jun 2024 10:31:08 +0200 Subject: [PATCH] Make function protected that is not used anywhere else If other code ever wants to use it, we can always change that. But most probably other code wants to use is_referred_attachment() instead. --- program/lib/Roundcube/rcube_message.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index 98a8f829a36..bba4182ae3c 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -577,7 +577,11 @@ public function is_attachment($part) return false; } - public function get_replacement_references(): array + /** + * Get a cached list of replacement references, which are collected during + * parsing from Content-Id and Content-Location headers of mime-parts. + */ + protected function get_replacement_references(): array { if ($this->replacement_references === null) { $this->replacement_references = [];