diff options
author | friendica <info@friendica.com> | 2015-03-16 15:35:46 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-16 15:35:46 -0700 |
commit | f660b7523bfdab782970f689d01ee1e90d1dff38 (patch) | |
tree | c77782e115cd0709dacc5bb889457164af0ef1c0 /include | |
parent | 52374bcd6e5726828219bed7a8c04f5456b167d5 (diff) | |
download | volse-hubzilla-f660b7523bfdab782970f689d01ee1e90d1dff38.tar.gz volse-hubzilla-f660b7523bfdab782970f689d01ee1e90d1dff38.tar.bz2 volse-hubzilla-f660b7523bfdab782970f689d01ee1e90d1dff38.zip |
also update the api to match
Diffstat (limited to 'include')
-rw-r--r-- | include/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/api.php b/include/api.php index d0c4ed0aa..8c0e32ecc 100644 --- a/include/api.php +++ b/include/api.php @@ -663,8 +663,8 @@ require_once('include/items.php'); $a->argv[1] = $user_info['screen_name']; $_REQUEST['silent']='1'; //tell wall_upload function to return img info instead of echo - require_once('mod/wall_upload.php'); - $posted = wall_upload_post($a); + require_once('mod/wall_attach.php'); + $posted = wall_attach_post($a); //now that we have the img url in bbcode we can add it to the status and insert the wall item. $_REQUEST['body']=$txt."\n\n".$posted; |