From e2066a8ad2a486b8a616a42882b1477a263bc177 Mon Sep 17 00:00:00 2001 From: "Moh. Sulton Hasanuddin" Date: Thu, 3 Aug 2017 10:52:14 +0700 Subject: [PATCH] add unlink after move file --- src/Storage/GCS.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Storage/GCS.php b/src/Storage/GCS.php index f63a86b..4d7982b 100644 --- a/src/Storage/GCS.php +++ b/src/Storage/GCS.php @@ -79,5 +79,7 @@ public function remove(array $filePaths) public function move($file, $filePath) { $this->filesystem->put($filePath, fopen($file, 'r+')); + + unlink($file); } }