1
0
Fork 0

remove redundant truth check

pull/5717/head
berlinger-rarents 2016-09-29 10:55:14 +02:00
parent 8845ea467a
commit 5123c5cf76
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class RemoteFilesystem
if (isset($options['bitbucket-token'])) {
// First time be optimistic and do not use the token for a BitBucket download.
if (isset($this->bitBucketUrlsTriedWithoutAuth[$origFileUrl]) && $this->bitBucketUrlsTriedWithoutAuth[$origFileUrl]) {
if (isset($this->bitBucketUrlsTriedWithoutAuth[$origFileUrl])) {
$fileUrl .= (false === strpos($fileUrl,'?') ? '?' : '&') . 'access_token=' . $options['bitbucket-token'];
} else {
$this->bitBucketUrlsTriedWithoutAuth[$origFileUrl] = true;