insertvon entfernt

This commit is contained in:
ma0048
2025-12-15 12:27:17 +01:00
parent df639c8b07
commit 5a77478071
3 changed files with 3 additions and 7 deletions
+1 -3
View File
@@ -28,9 +28,7 @@
setTimeout(function () {
if (!proctoringOK)
{
console.warn("Constructor nicht aktiv!")
//TODO einkommentieren
//top.location.href='resetconnection.php';
top.location.href='resetconnection.php';
}
}, 1000);
})();
+2 -3
View File
@@ -53,11 +53,10 @@ class externeUeberwachung extends basis_db
$uuid = $this->genereateUUID();
$qry = "INSERT INTO testtool.tbl_externe_ueberwachung (prestudent_id, session_id, insertvon)
$qry = "INSERT INTO testtool.tbl_externe_ueberwachung (prestudent_id, session_id)
VALUES (".
$this->db_add_param($prestudent_id).",".
$this->db_add_param($uuid).",".
$this->db_add_param(get_uid()).")";
$this->db_add_param($uuid).")";
if($this->db_query($qry))
{
@@ -19,7 +19,6 @@ if(!$result = @$db->db_query("SELECT 1 FROM testtool.tbl_externe_ueberwachung LI
prestudent_id INTEGER NOT NULL,
session_id UUID NOT NULL,
insertamum TIMESTAMP DEFAULT NOW(),
insertvon VARCHAR(32) NOT NULL,
CONSTRAINT tbl_externe_ueberwachung_pk PRIMARY KEY(externe_ueberwachung_id)
);
CREATE SEQUENCE testtool.tbl_externe_ueberwachungg_id_seq