Code optimisation.
This commit is contained in:
parent
345fef99b6
commit
a4eb4aa802
@ -307,7 +307,7 @@ class PartnershipUtils
|
|||||||
if (!$backlinkfound) {
|
if (!$backlinkfound) {
|
||||||
$tmpcount = $object->count_last_url_check_error + 1;
|
$tmpcount = $object->count_last_url_check_error + 1;
|
||||||
|
|
||||||
if ($tmpcount == 3) { // Send Warning Email
|
if ($tmpcount > 2 && $tmpcount <= 4) { // Send Warning Email
|
||||||
if (!empty($obj->email)) {
|
if (!empty($obj->email)) {
|
||||||
$emailnotfound .= ($emailnotfound ? ', ' : '').'Email not found for id="'.$fk_partner.'"'."\n";
|
$emailnotfound .= ($emailnotfound ? ', ' : '').'Email not found for id="'.$fk_partner.'"'."\n";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user