Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaelMobilia committed Oct 8, 2024
1 parent 8acf889 commit 0c76391
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions classes/MiniatureObject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ public function supprimer(): void
&& $this->getNbUsages() === 0
//&& file_exists($this->getPathMd5())
) {
global $msgErreur;
$msgErreur = $this->getNomNouveau();
unlink($this->getPathMd5());
unlink($this->getPathMd5().$this->getNomNouveau());
}
}

Expand Down

0 comments on commit 0c76391

Please sign in to comment.