aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-08-10 21:58:44 +0200
committerMario Vavti <mario@mariovavti.com>2017-08-10 21:58:44 +0200
commit0e3b5536e2a576c3959bf6644103c7a676684024 (patch)
treeacb04e153cd1084bce24163198be005fd0ffd59d /Zotlabs/Storage
parent0a96cdd950f30974fe0fecf60b214701673dad86 (diff)
downloadvolse-hubzilla-0e3b5536e2a576c3959bf6644103c7a676684024.tar.gz
volse-hubzilla-0e3b5536e2a576c3959bf6644103c7a676684024.tar.bz2
volse-hubzilla-0e3b5536e2a576c3959bf6644103c7a676684024.zip
create cdav principal also on client access and remove redundant pconfig check in authentication process
Diffstat (limited to 'Zotlabs/Storage')
-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;
}
/**