Skip to content

Commit

Permalink
Merge pull request #77 from terranc/patch-1
Browse files Browse the repository at this point in the history
修复删除文件返回值bug
  • Loading branch information
zgldh authored Dec 5, 2020
2 parents 8550dc5 + f54104e commit 7f22635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QiniuAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public function delete($path)
{
$bucketMgr = $this->getBucketManager();

$error = $bucketMgr->delete($this->bucket, $path);
list($ret, $error) = $bucketMgr->delete($this->bucket, $path);
if ($error !== null) {
$this->logQiniuError($error, $this->bucket . '/' . $path);

Expand Down

0 comments on commit 7f22635

Please sign in to comment.