removed event from installation routine

This commit is contained in:
Matthias Kalb 2018-10-26 19:05:16 +02:00
parent 8f1829e3f1
commit db2ee7169f

View file

@ -217,13 +217,6 @@ INSERT INTO `Einheit` (`ID`, `Name`, `Standard`) VALUES
(11, 'Glas', 0);"); (11, 'Glas', 0);");
array_push($SQLStatements, "
CREATE EVENT hourly_session_cleanup
ON SCHEDULE EVERY 1 HOUR
DO
DELETE FROM `sessions` WHERE `expires` < NOW();");
foreach($SQLStatements as $statement){ foreach($SQLStatements as $statement){
$result = $connection->query($statement); $result = $connection->query($statement);
} }