aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/BasicAuth.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-10 20:34:20 -0700
committerzotlabs <mike@macgirvin.com>2017-08-10 20:34:20 -0700
commit5f6eedcc1a6e719c2ac6fa93219f700e0d430b59 (patch)
tree0c744404bd2ccab4a22e431bf4a1f98933f3e8d2 /Zotlabs/Storage/BasicAuth.php
parent7cec3f4dbf53d64ab5d7fd579e98bbdf56a7a605 (diff)
parent7892ed9e77949b0e05cfc4e1b8fd17e6188c5f01 (diff)
downloadvolse-hubzilla-5f6eedcc1a6e719c2ac6fa93219f700e0d430b59.tar.gz
volse-hubzilla-5f6eedcc1a6e719c2ac6fa93219f700e0d430b59.tar.bz2
volse-hubzilla-5f6eedcc1a6e719c2ac6fa93219f700e0d430b59.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'Zotlabs/Storage/BasicAuth.php')
-rw-r--r--Zotlabs/Storage/BasicAuth.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/Zotlabs/Storage/BasicAuth.php b/Zotlabs/Storage/BasicAuth.php
index 0ff9fad13..ad2582bb2 100644
--- a/Zotlabs/Storage/BasicAuth.php
+++ b/Zotlabs/Storage/BasicAuth.php
@@ -188,13 +188,10 @@ class BasicAuth extends DAV\Auth\Backend\AbstractBasic {
protected function check_module_access($channel_id) {
if($channel_id && \App::$module === 'cdav') {
- $x = get_pconfig($channel_id,'cdav','enabled');
- if(! $x) {
- $this->module_disabled = true;
- return false;
- }
+ return true;
}
- return true;
+ $this->module_disabled = true;
+ return false;
}
/**