Code comment
This commit is contained in:
parent
0aef431c2a
commit
2a47128e2d
@ -170,7 +170,7 @@ if ($action == 'validatehistory') {
|
||||
while ($i < min($num_lines, 10000)) { // No more than 10000 at once
|
||||
$objp = $db->fetch_object($result);
|
||||
|
||||
$isBuyerInEEC = isInEEC($objp);
|
||||
$isBuyerInEEC = isInEEC($objp); // This make a database request but there is a cache into $conf->cache['country_code_in_EEC']
|
||||
|
||||
// Level 2: Search suggested account for product/service (similar code exists in page list.php to make manual binding)
|
||||
$suggestedaccountingaccountfor = '';
|
||||
|
||||
@ -754,7 +754,7 @@ function isInEEC($object)
|
||||
return false;
|
||||
}
|
||||
|
||||
$country_code_in_EEC = getCountriesInEEC();
|
||||
$country_code_in_EEC = getCountriesInEEC(); // This make a database call but there is a cache done into $conf->cache['country_code_in_EEC']
|
||||
|
||||
//print "dd".$object->country_code;
|
||||
return in_array($object->country_code, $country_code_in_EEC);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user