merged 2 if() into one, closes internal TODO
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
47ae5a9a47
commit
fd468f20fd
1 changed files with 3 additions and 5 deletions
|
@ -1961,12 +1961,10 @@ class dfrn {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/// @TODO Maybe merge these if() blocks into one?
|
/// @TODO Maybe merge these if() blocks into one?
|
||||||
if ($is_a_remote_action && $community) {
|
if ($is_a_remote_action && $community && (!$r[0]["forum_mode"]) && (!$r[0]["wall"])) {
|
||||||
if ((!$r[0]["forum_mode"]) && (!$r[0]["wall"])) {
|
|
||||||
$is_a_remote_action = false;
|
$is_a_remote_action = false;
|
||||||
logger("not a community action");
|
logger("not a community action");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if ($is_a_remote_action) {
|
if ($is_a_remote_action) {
|
||||||
return DFRN_REPLY_RC;
|
return DFRN_REPLY_RC;
|
||||||
|
|
Loading…
Reference in a new issue