File inc/struct.inc.php changed (mode: 100644) (index 641cfc3..25a286e) |
... |
... |
function rg_sql_struct_slaves_update($db) |
637 |
637 |
$month = gmdate("m", $last_ts) + 1; |
$month = gmdate("m", $last_ts) + 1; |
638 |
638 |
$year = gmdate("Y", $last_ts); |
$year = gmdate("Y", $last_ts); |
639 |
639 |
$ts = gmmktime(0, 0, 0, $month, 1, $year); |
$ts = gmmktime(0, 0, 0, $month, 1, $year); |
640 |
|
$stop_ts = gmmktime(0, 0, 0, gmdate("m") + 1, 1, $year); |
|
|
640 |
|
$stop_ts = gmmktime(0, 0, 0, gmdate("m") + 1, 1, gmdate("Y")); |
641 |
641 |
while ($ts <= $stop_ts) { |
while ($ts <= $stop_ts) { |
642 |
642 |
$month++; |
$month++; |
643 |
643 |
$next_ts = gmmktime(0, 0, 0, $month, 1, $year); |
$next_ts = gmmktime(0, 0, 0, $month, 1, $year); |