Skip to content

Commit 57cca34

Browse files
authored
Merge pull request #242 from lvtongda/patch-1
Update Config.php
2 parents 80de39b + 36d4120 commit 57cca34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Qiniu/Config.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ private function getZone($accessKey, $bucket)
121121
$cacheId = "$accessKey:$bucket";
122122

123123
if (isset($this->zoneCache[$cacheId])) {
124-
print("from cache\n");
124+
//print("from cache\n");
125125
$zone = $this->zoneCache[$cacheId];
126126
} elseif (isset($this->zone)) {
127-
print("from set\n");
127+
//print("from set\n");
128128
$zone = $this->zone;
129129
$this->zoneCache[$cacheId] = $zone;
130130
} else {
131-
print("from query\n");
131+
//print("from query\n");
132132
$zone = Zone::queryZone($accessKey, $bucket);
133133
$this->zoneCache[$cacheId] = $zone;
134134
}

0 commit comments

Comments
 (0)