Remove unused parameters & variabeles, fix calls with wrong number of args

This commit is contained in:
Jan Jakeš
2018-11-15 08:09:48 +01:00
committed by Pavel Dohnal
parent aac7744dee
commit 60a5fe2732
5 changed files with 5 additions and 5 deletions

View File

@@ -318,7 +318,7 @@ class Populator {
private function rowExists($table, $columns) {
global $wpdb;
$conditions = array_map(function($key) use ($columns) {
$conditions = array_map(function($key) {
return $key . '=%s';
}, array_keys($columns));