Skip to content

Commit

Permalink
aaaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaelMobilia committed Oct 8, 2024
1 parent 82bd33b commit 0860d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/MiniatureObject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function supprimer(): void
// Si plus aucune image n'utilise le fichier => supprimer l'image sur le HDD
if (
$req->execute()
&& $this->getNbUsages() === 0
//&& $this->getNbUsages() === 0
&& file_exists($this->getPathMd5())
) {
unlink($this->getPathMd5());
Expand Down

0 comments on commit 0860d22

Please sign in to comment.