summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-11 01:11:57 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-11 01:11:57 +0200
commit3b835ea1b6e6bfffa98ea10e4cb561b0fb31e5d6 (patch)
treecb198402811680bbfa1db58f583b3d65d3c37d45 /apps
parentec255b52be2533e77214737c116ff97c18519d75 (diff)
downloadnextcloud-server-3b835ea1b6e6bfffa98ea10e4cb561b0fb31e5d6.tar.gz
nextcloud-server-3b835ea1b6e6bfffa98ea10e4cb561b0fb31e5d6.zip
never hack late night
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/irods.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php
index c6f002ffd22..b8191db2f2e 100644
--- a/apps/files_external/lib/irods.php
+++ b/apps/files_external/lib/irods.php
@@ -32,7 +32,7 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{
$this->port = isset($params['port']) ? $params['port'] : 1247;
$this->user = isset($params['user']) ? $params['user'] : '';
$this->password = isset($params['password']) ? $params['password'] : '';
- $this->use_logon_credentials = $params['use_logon_credentials'] === 'true' ? true : false;
+ $this->use_logon_credentials = ($params['use_logon_credentials'] === 'true');
$this->zone = $params['zone'];
$this->auth_mode = isset($params['auth_mode']) ? $params['auth_mode'] : '';