mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 23:43:42 +00:00
[pumpio] Remove two superfluous parentheses
- Thanks to @SteffenK9 for the report!
This commit is contained in:
parent
aeefb92926
commit
aa5130247b
1 changed files with 2 additions and 2 deletions
|
@ -412,7 +412,7 @@ function pumpio_send(array &$b)
|
|||
|
||||
Logger::notice('pumpio_send: receiver ', $receiver);
|
||||
|
||||
if (!count($receiver) && ($b['private'] == Item::PRIVATE) || !strstr($b['postopts'], 'pumpio'))) {
|
||||
if (!count($receiver) && ($b['private'] == Item::PRIVATE) || !strstr($b['postopts'], 'pumpio')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1319,7 +1319,7 @@ function pumpio_getreceiver(array $b)
|
|||
{
|
||||
$receiver = [];
|
||||
|
||||
if ($b['private'] != Item::PRIVATE)) {
|
||||
if ($b['private'] != Item::PRIVATE) {
|
||||
if (!strstr($b['postopts'], 'pumpio')) {
|
||||
return $receiver;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue