diff options
author | Jannik Schönartz | 2018-02-06 13:45:54 +0100 |
---|---|---|
committer | Jannik Schönartz | 2018-02-06 13:45:54 +0100 |
commit | 3d801dcde21c8166e3281a180ef21ff05b175fd6 (patch) | |
tree | f8508e11bc6df5a27f0417ad8098c4ed013a691c /modules-available/syslog/hooks/statistics | |
parent | [usb-lock-off] Reworked config chooser. Switched from the dropdown config sel... (diff) | |
parent | [statistics_reporting] Translation for 'settings' (diff) | |
download | slx-admin-3d801dcde21c8166e3281a180ef21ff05b175fd6.tar.gz slx-admin-3d801dcde21c8166e3281a180ef21ff05b175fd6.tar.xz slx-admin-3d801dcde21c8166e3281a180ef21ff05b175fd6.zip |
Merge branch 'origin/master' into usb-lock-off
Diffstat (limited to 'modules-available/syslog/hooks/statistics')
-rw-r--r-- | modules-available/syslog/hooks/statistics/machine-replace.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/syslog/hooks/statistics/machine-replace.inc.php b/modules-available/syslog/hooks/statistics/machine-replace.inc.php new file mode 100644 index 00000000..6be0dd76 --- /dev/null +++ b/modules-available/syslog/hooks/statistics/machine-replace.inc.php @@ -0,0 +1,5 @@ +<?php + +foreach ($list as $entry) { + Database::exec('UPDATE IGNORE clientlog SET machineuuid = :new WHERE machineuuid = :old AND dateline < :datelimit', $entry); +} |