diff options
author | git-marijus <mario@mariovavti.com> | 2017-07-29 23:32:48 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2017-07-29 23:32:48 +0200 |
commit | 8161ec88e5a2b9d1f7071dfed6a70c850e42ed4b (patch) | |
tree | 533197d28bdf0ddc1c194e0fdc27374d3720bcf6 /Zotlabs/Module/File_upload.php | |
parent | 7b992decd4fdd670e6c01ea31a14e756974bf1a2 (diff) | |
download | volse-hubzilla-8161ec88e5a2b9d1f7071dfed6a70c850e42ed4b.tar.gz volse-hubzilla-8161ec88e5a2b9d1f7071dfed6a70c850e42ed4b.tar.bz2 volse-hubzilla-8161ec88e5a2b9d1f7071dfed6a70c850e42ed4b.zip |
implement file notification on initial upload and rename get_parent_cloudpath() to get_cloud_url() which now includes the filename
Diffstat (limited to 'Zotlabs/Module/File_upload.php')
-rw-r--r-- | Zotlabs/Module/File_upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/File_upload.php b/Zotlabs/Module/File_upload.php index 29a7bd137..f036d3f43 100644 --- a/Zotlabs/Module/File_upload.php +++ b/Zotlabs/Module/File_upload.php @@ -34,10 +34,10 @@ class File_upload extends \Zotlabs\Web\Controller { $_REQUEST['deny_gid'] = perms2str($_REQUEST['group_deny']); if($_REQUEST['filename']) { - $r = attach_mkdir($channel,get_observer_hash(),$_REQUEST); + $r = attach_mkdir($channel, get_observer_hash(), $_REQUEST); } else { - $r = attach_store($channel,get_observer_hash(), '', $_REQUEST); + $r = attach_store($channel, get_observer_hash(), '', $_REQUEST); } goaway(z_root() . '/' . $_REQUEST['return_url']); |