mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
Fix formatting
This commit is contained in:
parent
ca6e477701
commit
3e141d268e
7 changed files with 36 additions and 18 deletions
|
@ -191,14 +191,17 @@ function wppost_post_local(&$a, &$b) {
|
|||
|
||||
function wppost_send(&$a,&$b) {
|
||||
|
||||
if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited']))
|
||||
if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(! strstr($b['postopts'],'wppost'))
|
||||
if(! strstr($b['postopts'],'wppost')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if($b['parent'] != $b['id'])
|
||||
if($b['parent'] != $b['id']) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Dont't post if the post doesn't belong to us.
|
||||
// This is a check for forum postings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue