Skip to content

Commit

Permalink
add unlink after move file
Browse files Browse the repository at this point in the history
  • Loading branch information
Moh. Sulton Hasanuddin committed Aug 3, 2017
1 parent b76d7d2 commit e2066a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Storage/GCS.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,7 @@ public function remove(array $filePaths)
public function move($file, $filePath)
{
$this->filesystem->put($filePath, fopen($file, 'r+'));

unlink($file);
}
}

0 comments on commit e2066a8

Please sign in to comment.