mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove fullsql and comment.
This commit is contained in:
@ -116,7 +116,6 @@ function dbInsert($data, $table) {
|
|||||||
|
|
||||||
|
|
||||||
function dbBulkInsert($data, $table) {
|
function dbBulkInsert($data, $table) {
|
||||||
global $fullSql;
|
|
||||||
global $db_stats;
|
global $db_stats;
|
||||||
// the following block swaps the parameters if they were given in the wrong order.
|
// the following block swaps the parameters if they were given in the wrong order.
|
||||||
// it allows the method to work for those that would rather it (or expect it to)
|
// it allows the method to work for those that would rather it (or expect it to)
|
||||||
@ -126,7 +125,6 @@ function dbBulkInsert($data, $table) {
|
|||||||
$tmp = $data;
|
$tmp = $data;
|
||||||
$data = $table;
|
$data = $table;
|
||||||
$table = $tmp;
|
$table = $tmp;
|
||||||
// trigger_error('QDB - Parameters passed to insert() were in reverse order, but it has been allowed', E_USER_NOTICE);
|
|
||||||
}
|
}
|
||||||
if (count($data) === 0) {
|
if (count($data) === 0) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user