Skip to content

Commit

Permalink
remove log, fake lang
Browse files Browse the repository at this point in the history
  • Loading branch information
ediathome committed Sep 24, 2019
1 parent b9b9759 commit dd7ff1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/GuestFaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ private function fake_guest()
# if($this->in_rnd_range($this->conf['customer_cart_rate'])) {
# $cart->id_customer = $cid;
# }
$guest->accept_language = $this->faker_localization();
$guest->save();
return $guest;
}
Expand All @@ -41,7 +42,6 @@ private function fake_os()
# $i = mt_rand(0, count($this->operating_systems()) - 1);
$i = mt_rand(0, $this->max_os_probability());
foreach ($this->os_probability_ranges() as $k => $r) {
error_log("fake_os: $i ".print_r($r, true));
if($r[0] <= $i && $i <= $r[1]) {
return $k;
}
Expand Down

0 comments on commit dd7ff1e

Please sign in to comment.