1 <?php declare(strict_types=1);
32 if (file_exists($this->fileService->getBackgroundImageThumbPath())) {
33 unlink($this->fileService->getBackgroundImageThumbPath());
36 $filename = $this->certificatePath .
'background_' . $version .
'.jpg';
37 if (file_exists($filename)) {
41 if (file_exists($this->fileService->getBackgroundImageTempfilePath())) {
42 unlink($this->fileService->getBackgroundImageTempfilePath());
__construct(string $certificatePath, ilCertificateBackgroundImageFileService $fileService)
deleteBackgroundImage(string $version)