diff --git a/backend/Services/Storage/Filesystem.php b/backend/Services/Storage/Filesystem.php index a26f246..26720ac 100644 --- a/backend/Services/Storage/Filesystem.php +++ b/backend/Services/Storage/Filesystem.php @@ -168,7 +168,7 @@ class Filesystem implements Service while ($this->storage->has($destination)) { if ($overwrite) { - $this->deleteFile($destination); + $this->storage->delete($destination); } else { $destination = $this->upcountName($destination); }