Address deprecation notices for certain function signatures

This commit is contained in:
Aaron van Geffen 2022-07-08 23:52:03 +02:00
parent d8858c78bb
commit b3808144ca

View File

@ -488,7 +488,7 @@ class Database
/** /**
* This function can be used to insert data into the database in a secure way. * This function can be used to insert data into the database in a secure way.
*/ */
public function insert($method = 'replace', $table, $columns, $data) public function insert($method, $table, $columns, $data)
{ {
// With nothing to insert, simply return. // With nothing to insert, simply return.
if (empty($data)) if (empty($data))