Merge branch 'patch-20190218a' into 'dev'
Fix: post_activity_item returns success => true even on failure. See merge request hubzilla/core!1521
This commit is contained in:
commit
7e8434404f
@ -486,6 +486,8 @@ function post_activity_item($arr, $allow_code = false, $deliver = true) {
|
|||||||
*/
|
*/
|
||||||
call_hooks('post_local_end', $ret['activity']);
|
call_hooks('post_local_end', $ret['activity']);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
return $ret;
|
||||||
|
|
||||||
if($post_id && $deliver) {
|
if($post_id && $deliver) {
|
||||||
Master::Summon([ 'Notifier','activity',$post_id ]);
|
Master::Summon([ 'Notifier','activity',$post_id ]);
|
||||||
|
Reference in New Issue
Block a user