Skip to content

Commit

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

0 comments on commit 407ee5e

Please sign in to comment.