aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/BasicAuth.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2020-05-05 19:59:22 -0700
committerzotlabs <mike@macgirvin.com>2020-05-05 19:59:22 -0700
commit8c65e9cb4a30a86208bdda91d7d764a8c6ee6b4c (patch)
tree4a387d86ecfd5dfd72b311ca9aa95be4a61f63bc /Zotlabs/Storage/BasicAuth.php
parent79968ea07aa205e9c93993724d3f37362220b9d4 (diff)
downloadvolse-hubzilla-8c65e9cb4a30a86208bdda91d7d764a8c6ee6b4c.tar.gz
volse-hubzilla-8c65e9cb4a30a86208bdda91d7d764a8c6ee6b4c.tar.bz2
volse-hubzilla-8c65e9cb4a30a86208bdda91d7d764a8c6ee6b4c.zip
Revert "issue generating photo thumbnails when uploaded via davfs"
This reverts commit 7a0d9a449492ff3b5ef97b997310ed26ec1f53e4.
Diffstat (limited to 'Zotlabs/Storage/BasicAuth.php')
-rw-r--r--Zotlabs/Storage/BasicAuth.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/Zotlabs/Storage/BasicAuth.php b/Zotlabs/Storage/BasicAuth.php
index 3a48f5004..a5c01fbb7 100644
--- a/Zotlabs/Storage/BasicAuth.php
+++ b/Zotlabs/Storage/BasicAuth.php
@@ -2,7 +2,6 @@
namespace Zotlabs\Storage;
-use App;
use Sabre\DAV;
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;
@@ -129,16 +128,6 @@ class BasicAuth extends DAV\Auth\Backend\AbstractBasic {
$this->channel_name = $r['channel_address'];
$this->channel_id = $r['channel_id'];
$this->channel_hash = $this->observer = $r['channel_hash'];
-
- if ($this->observer) {
- $r = q("select * from xchan where xchan_hash = '%s' limit 1",
- dbesc($this->observer)
- );
- if ($r) {
- App::set_observer(array_shift($r));
- }
- }
-
$_SESSION['uid'] = $r['channel_id'];
$_SESSION['account_id'] = $r['channel_account_id'];
$_SESSION['authenticated'] = true;