Replace deprecated doctrine methods in lib directory
[MAILPOET-3889]
This commit is contained in:
committed by
Veljko V
parent
efde80b5c4
commit
73a9bed483
@@ -96,7 +96,7 @@ class ImportExportRepository {
|
||||
$rows[] = "(" . implode(', ', $paramNames) . ")";
|
||||
}
|
||||
|
||||
return $this->entityManager->getConnection()->executeUpdate("
|
||||
return $this->entityManager->getConnection()->executeStatement("
|
||||
INSERT IGNORE INTO {$tableName} (`" . implode("`, `", $columns) . "`) VALUES
|
||||
" . implode(", \n", $rows) . "
|
||||
", $parameters);
|
||||
@@ -156,7 +156,7 @@ class ImportExportRepository {
|
||||
$updateColumns[] = 'deleted_at = NULL';
|
||||
}
|
||||
|
||||
return $this->entityManager->getConnection()->executeUpdate("
|
||||
return $this->entityManager->getConnection()->executeStatement("
|
||||
UPDATE {$tableName} SET
|
||||
" . implode(", \n", $updateColumns) . "
|
||||
WHERE
|
||||
|
Reference in New Issue
Block a user