diff options
author | friendica <info@friendica.com> | 2013-01-22 17:48:42 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-22 17:48:42 -0800 |
commit | cf2488e999944ca1135ac62955527a376ad0eac2 (patch) | |
tree | c9f2981c7c340b66fe5bbc9cc76e7b981deeea45 /include/items.php | |
parent | beb3301d43c0d532bd6984ee745074479babdabb (diff) | |
download | volse-hubzilla-cf2488e999944ca1135ac62955527a376ad0eac2.tar.gz volse-hubzilla-cf2488e999944ca1135ac62955527a376ad0eac2.tar.bz2 volse-hubzilla-cf2488e999944ca1135ac62955527a376ad0eac2.zip |
clean up the photo storage backend, revamp mod/wall_upload
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php index fe8aadcbf..9ab39d7ae 100755 --- a/include/items.php +++ b/include/items.php @@ -2080,13 +2080,13 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0) $img->scaleImageSquare(175); $hash = $resource_id; - $r = $img->store($contact['uid'], $contact['id'], $hash, basename($photo_url), 'Contact Photos', 4); + $r = $img->store(0, $contact['uid'], $contact['id'], $hash, basename($photo_url), 'Contact Photos', 4); $img->scaleImage(80); - $r = $img->store($contact['uid'], $contact['id'], $hash, basename($photo_url), 'Contact Photos', 5); + $r = $img->store(0, $contact['uid'], $contact['id'], $hash, basename($photo_url), 'Contact Photos', 5); $img->scaleImage(48); - $r = $img->store($contact['uid'], $contact['id'], $hash, basename($photo_url), 'Contact Photos', 6); + $r = $img->store(0, $contact['uid'], $contact['id'], $hash, basename($photo_url), 'Contact Photos', 6); $a = get_app(); |