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