diff options
author | redmatrix <git@macgirvin.com> | 2016-07-26 15:59:06 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-26 15:59:06 -0700 |
commit | 02f88fc7b262506cef3cdf219d1b8351ca3ca01d (patch) | |
tree | e68eaec94270d87455b6a4b7b1642e7d2ceb3ac4 /Zotlabs | |
parent | 56957b60e2f8e85cfaa2d9216fbf74d66e156a7d (diff) | |
parent | e38880a68669e572efcaef1b99518116460ba0b0 (diff) | |
download | volse-hubzilla-02f88fc7b262506cef3cdf219d1b8351ca3ca01d.tar.gz volse-hubzilla-02f88fc7b262506cef3cdf219d1b8351ca3ca01d.tar.bz2 volse-hubzilla-02f88fc7b262506cef3cdf219d1b8351ca3ca01d.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs')
-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", |