mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
allow plugin to abort message posting, fix half-duplex D* relationship
This commit is contained in:
parent
95878a3e84
commit
4993f4f1d6
3 changed files with 22 additions and 0 deletions
|
@ -814,6 +814,11 @@ function item_store($arr,$force_parent = false) {
|
|||
|
||||
call_hooks('post_remote',$arr);
|
||||
|
||||
if(x($arr,'cancel')) {
|
||||
logger('item_store: post cancelled by plugin.');
|
||||
return 0;
|
||||
}
|
||||
|
||||
dbesc_array($arr);
|
||||
|
||||
logger('item_store: ' . print_r($arr,true), LOGGER_DATA);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue