aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/File.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/File.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/File.php')
-rw-r--r--Zotlabs/Storage/File.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/Zotlabs/Storage/File.php b/Zotlabs/Storage/File.php
index ee96363c4..68edde166 100644
--- a/Zotlabs/Storage/File.php
+++ b/Zotlabs/Storage/File.php
@@ -121,11 +121,6 @@ class File extends DAV\Node implements DAV\IFile {
logger('put file: ' . basename($this->name), LOGGER_DEBUG);
$size = 0;
- if ((! $this->auth->owner_id) || (! perm_is_allowed($this->auth->owner_id, $this->auth->observer, 'write_storage'))) {
- logger('permission denied for put operation');
- throw new DAV\Exception\Forbidden('Permission denied.');
- }
-
// @todo only 3 values are needed
$c = q("SELECT * FROM channel WHERE channel_id = %d AND channel_removed = 0 LIMIT 1",
intval($this->auth->owner_id)