Skip to content

Commit

Permalink
add unlink after move file
Browse files Browse the repository at this point in the history
  • Loading branch information
shcode committed Aug 3, 2017
1 parent 3e80569 commit 47e6a31
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 47e6a31

Please sign in to comment.