aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/Directory.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-30 06:30:46 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-30 06:30:46 -0400
commitf17f51a9c1f62dc0229e2428cacea4e84313560e (patch)
tree7486b05738e943bf39619d06bec9d83d7795e746 /Zotlabs/Storage/Directory.php
parent5a63ddd6457ae4dba61ff30db5b6601b22ddd1b6 (diff)
parentd858bd9265a4a0fa3589cdb2126031998310c7c3 (diff)
downloadvolse-hubzilla-f17f51a9c1f62dc0229e2428cacea4e84313560e.tar.gz
volse-hubzilla-f17f51a9c1f62dc0229e2428cacea4e84313560e.tar.bz2
volse-hubzilla-f17f51a9c1f62dc0229e2428cacea4e84313560e.zip
Merge remote-tracking branch 'upstream/dev' into website-import
Diffstat (limited to 'Zotlabs/Storage/Directory.php')
-rw-r--r--Zotlabs/Storage/Directory.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php
index f9ddb4e24..15e06e28f 100644
--- a/Zotlabs/Storage/Directory.php
+++ b/Zotlabs/Storage/Directory.php
@@ -3,6 +3,7 @@
namespace Zotlabs\Storage;
use Sabre\DAV;
+use Sabre\HTTP;
/**
* @brief RedDirectory class.
@@ -159,7 +160,7 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota {
throw new DAV\Exception\Forbidden('Permission denied.');
}
- list($parent_path, ) = DAV\URLUtil::splitPath($this->red_path);
+ list($parent_path, ) = HTTP\URLUtil::splitPath($this->red_path);
$new_path = $parent_path . '/' . $name;
$r = q("UPDATE attach SET filename = '%s' WHERE hash = '%s' AND uid = %d",