provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !!

This commit is contained in:
friendica
2013-09-10 19:06:06 -07:00
parent 7ada499ca9
commit 3e5414cf35
10 changed files with 72 additions and 32 deletions

View File

@@ -75,7 +75,8 @@ function profile_activity($changed, $value) {
$arr['deny_cid'] = $self['channel_deny_cid'];
$arr['deny_gid'] = $self['channel_deny_gid'];
$i = item_store($arr);
$res = item_store($arr);
$i = $res['item_id'];
if($i) {
// FIXME - limit delivery in notifier.php to those specificed in the perms argument