From 1357e21155471fdcb92b474a4d91435d0f345798 Mon Sep 17 00:00:00 2001 From: Samuel Wolff Date: Wed, 17 Jan 2024 10:21:14 +0100 Subject: [PATCH] ??? --- Model/BenutzerModel.php | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Model/BenutzerModel.php b/Model/BenutzerModel.php index 6278b8b..2fb70da 100644 --- a/Model/BenutzerModel.php +++ b/Model/BenutzerModel.php @@ -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; - - } - - } ?> \ No newline at end of file