mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-27 15:40:00 +01:00
removed event from installation routine
This commit is contained in:
parent
8f1829e3f1
commit
db2ee7169f
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue