diff options
author | zottel <github@zottel.net> | 2016-07-27 09:31:20 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2016-07-27 09:31:20 +0200 |
commit | e5a3179468c84ab78ffa655353bc068508e8cdfd (patch) | |
tree | 24d27705ad197ea1769f906404d6e14071f5599d /Zotlabs/Storage/Directory.php | |
parent | 11b97af250d8c5db015a736e9349f29efb6662d7 (diff) | |
parent | 672c3d7c6df2bf4667546c4376318d8684568014 (diff) | |
download | volse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.tar.gz volse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.tar.bz2 volse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.zip |
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'Zotlabs/Storage/Directory.php')
-rw-r--r-- | Zotlabs/Storage/Directory.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php index 6242d5274..0860f99a1 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", |