MDL-68047 tcpdf: Prevent images out from cache to be removed
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 8 Mar 2020 17:48:16 +0000 (18:48 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 5 Apr 2020 22:29:55 +0000 (00:29 +0200)
commit631d2ad7e2f907c70d05ba44345e22bb7a4b97c2
tree90f2fed773e50dd12fbbb4a5c480d5481b5b8171
parent1d4fdb0d1c60448104bc9eac79b5123863c67cbd
MDL-68047 tcpdf: Prevent images out from cache to be removed

This corresponds to https://github.com/tecnickcom/TCPDF/pull/174
(and was fixed bycommit 510070b) and was a regression causing
image files to be removed unconditionally. Only if the images
are from cache, they can be removed.

It's fixed upstream in version 6.3.4 and up.
lib/tcpdf/readme_moodle.txt
lib/tcpdf/tcpdf.php