nextcloud/apps/files_external
Lukas Reschke db2ddb5441 Properly cast type
The current logic is checking whether:

1. The returned value is a boolen
2. The returned value is a string and then matches for "true"

Since the config is now written to the database the data is now a string with the value "1" if HTTPS is set to true. Effectively this option was thus always disabled at the moment, falling back to plain HTTP.

This change casts the data to a boolean if it is defined as boolean.

Fixes https://github.com/owncloud/core/issues/22605
Fixes https://github.com/owncloud/core/issues/22016
2016-02-24 19:58:41 +01:00
..
3rdparty update icewind/smb to 1.0.5 2016-02-09 17:09:30 +01:00
ajax Happy new year! 2016-01-12 15:02:18 +01:00
appinfo Merge pull request #22399 from owncloud/issue-22394-index-names-for-oracle 2016-02-18 11:18:32 +01:00
command Merge pull request #21773 from owncloud/files_external-list-authtype 2016-02-09 15:33:47 +01:00
controller remove global credentials 2016-02-17 13:55:27 +01:00
css Merge branch 'master' into issue_20427 2015-12-03 12:35:49 +01:00
img fix and compress files_external icon 2014-12-11 15:33:31 +01:00
js Properly cast type 2016-02-24 19:58:41 +01:00
l10n [tx-robot] updated from transifex 2016-02-17 01:56:11 -05:00
lib Properly cast type 2016-02-24 19:58:41 +01:00
migration clear mount cache when removing applicables 2016-01-20 16:32:56 +01:00
service dont die when missing an auth backend 2016-02-17 16:51:40 +01:00
templates remove global credentials 2016-02-17 13:55:27 +01:00
tests Properly cast type 2016-02-24 19:58:41 +01:00
list.php Happy new year! 2016-01-12 15:02:18 +01:00
personal.php remove global credentials 2016-02-17 13:55:27 +01:00
settings.php remove global credentials 2016-02-17 13:55:27 +01:00