Skip to content

Commit

Permalink
Fix #3034
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Feb 21, 2025
1 parent a1199cc commit 9517c77
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/class/history.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ public static function archive() {
DB::Prepare($sql, array());
$sql = 'DELETE FROM historyArch WHERE `value` IS NULL';
DB::Prepare($sql, array());
$sql = 'DELETE FROM history WHERE `datetime` <= "2000-01-01 01:00:00" OR `datetime` >= "2026-01-01 01:00:00"';
DB::Prepare($sql, array());
$sql = 'DELETE FROM historyArch WHERE `datetime` <= "2000-01-01 01:00:00" OR `datetime` >= "2026-01-01 01:00:00"';
DB::Prepare($sql, array());
$sql = 'DELETE FROM history WHERE `value` IS NULL';
DB::Prepare($sql, array());
$sql = 'DELETE FROM historyArch WHERE `value` IS NULL';
Expand Down

0 comments on commit 9517c77

Please sign in to comment.