changed "and" -> && according to CR
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
689b81171e
commit
506af8b556
1 changed files with 2 additions and 2 deletions
|
@ -143,7 +143,7 @@ function dfrn_notify_post(App $a) {
|
||||||
$rino = get_config('system','rino_encrypt');
|
$rino = get_config('system','rino_encrypt');
|
||||||
$rino = intval($rino);
|
$rino = intval($rino);
|
||||||
// use RINO1 if mcrypt isn't installed and RINO2 was selected
|
// use RINO1 if mcrypt isn't installed and RINO2 was selected
|
||||||
if ($rino == 2 and !function_exists('mcrypt_create_iv')) {
|
if ($rino == 2 && !function_exists('mcrypt_create_iv')) {
|
||||||
$rino = 1;
|
$rino = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -319,7 +319,7 @@ function dfrn_notify_content(App $a) {
|
||||||
$rino = intval($rino);
|
$rino = intval($rino);
|
||||||
// use RINO1 if mcrypt isn't installed and RINO2 was selected
|
// use RINO1 if mcrypt isn't installed and RINO2 was selected
|
||||||
/// @TODO Define a code-standard: and/AND/&& are around
|
/// @TODO Define a code-standard: and/AND/&& are around
|
||||||
if ($rino == 2 and !function_exists('mcrypt_create_iv')) {
|
if ($rino == 2 && !function_exists('mcrypt_create_iv')) {
|
||||||
$rino = 1;
|
$rino = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue