diff options
Diffstat (limited to 'modules-available/roomplanner/hooks')
-rw-r--r-- | modules-available/roomplanner/hooks/statistics-machine-replace.inc.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules-available/roomplanner/hooks/statistics-machine-replace.inc.php b/modules-available/roomplanner/hooks/statistics-machine-replace.inc.php new file mode 100644 index 00000000..651c4c25 --- /dev/null +++ b/modules-available/roomplanner/hooks/statistics-machine-replace.inc.php @@ -0,0 +1,7 @@ +<?php + + +foreach ($list as $entry) { + unset($entry['datelimit']); + Database::exec('UPDATE IGNORE location_roomplan SET tutoruuid = :new WHERE tutoruuid = :old', $entry); +}
\ No newline at end of file |