Skip to content

Commit

Permalink
Make function protected that is not used anywhere else
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pabzm committed Jun 6, 2024
1 parent 9dbd595 commit 614fff4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion program/lib/Roundcube/rcube_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 614fff4

Please sign in to comment.