From 47e6a31d8d8f5ad5dc15d1bf3c7b2a39d06623e4 Mon Sep 17 00:00:00 2001 From: "M. 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); } }