Skip to content

Commit

Permalink
remove the print debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
jemygraw committed Aug 26, 2017
1 parent 57cca34 commit 8c7ba73
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Qiniu/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

final class Config
{
const SDK_VER = '7.2.0';
const SDK_VER = '7.2.1';

const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改

Expand Down Expand Up @@ -121,14 +121,11 @@ private function getZone($accessKey, $bucket)
$cacheId = "$accessKey:$bucket";

if (isset($this->zoneCache[$cacheId])) {
//print("from cache\n");
$zone = $this->zoneCache[$cacheId];
} elseif (isset($this->zone)) {
//print("from set\n");
$zone = $this->zone;
$this->zoneCache[$cacheId] = $zone;
} else {
//print("from query\n");
$zone = Zone::queryZone($accessKey, $bucket);
$this->zoneCache[$cacheId] = $zone;
}
Expand Down

0 comments on commit 8c7ba73

Please sign in to comment.