diff --git a/src/Gaufrette/Adapter/GoogleCloudStorage.php b/src/Gaufrette/Adapter/GoogleCloudStorage.php index 00ba518c9..7574a4628 100644 --- a/src/Gaufrette/Adapter/GoogleCloudStorage.php +++ b/src/Gaufrette/Adapter/GoogleCloudStorage.php @@ -256,7 +256,7 @@ public function rename($sourceKey, $targetKey) try { $this->service->objects->copy($this->bucket, $sourcePath, $this->bucket, $targetPath, $object); - $this->delete($sourcePath); + $this->service->objects->delete($this->bucket, $sourcePath); } catch (\Google_Service_Exception $e) { return false; }