forked from Public/pics
Address deprecation notices for certain function signatures
This commit is contained in:
parent
64d7433a56
commit
12407d797d
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user