| @@ -21,12 +21,12 @@ | ||
| 21 | 21 | return; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | $tracking = array( |
| 25 | - 'day' => rand( 0, 6 ) * DAY_IN_SECONDS, | |
| 26 | - 'hour' => rand( 0, 23 ) * HOUR_IN_SECONDS, | |
| 27 | - 'minute' => rand( 0, 59 ) * MINUTE_IN_SECONDS, | |
| 28 | - 'second' => rand( 0, 59 ), | |
| 25 | + 'day' => rand( 0, 6 ) * DAY_IN_SECONDS, | |
| 26 | + 'hour' => rand( 0, 23 ) * HOUR_IN_SECONDS, | |
| 27 | + 'minute' => rand( 0, 59 ) * MINUTE_IN_SECONDS, | |
| 28 | + 'second' => rand( 0, 59 ), | |
| 29 | 29 | ); |
| 30 | 30 | |
| 31 | 31 | $offset = array_sum( $tracking ); |
| 32 | 32 | $init_send = strtotime( 'next sunday' ) + $offset; |