Testing #10

Merged
PBG2H22AWO merged 4 commits from Testing into main 2024-01-17 10:24:24 +01:00
Showing only changes of commit 1357e21155 - Show all commits

View File

@ -113,29 +113,6 @@ class BenutzerModel extends Database
return $result;
}
public function nextId()
{
$pdo = $this->linkDB();
$sql = "SELECT `auto_increment` FROM INFORMATION_SCHEMA.TABLES WHERE table_name = 'Benutzerkonto'; ";
try {
$stmt = $pdo->prepare($sql);
$stmt->execute();
} catch (\PDOException $e) {
return false;
}
$result = $stmt->fetchALL(\PDO::FETCH_ASSOC);
return $result;
}
}
?>