Replace Newsletter delete,trash,replace by new bulkMethods
[MAILPOET-2898][MAILPOET-2758]
This commit is contained in:
committed by
Veljko V
parent
3a462a7a6c
commit
a8d11bf045
@ -211,6 +211,9 @@ class NewslettersRepository extends Repository {
|
||||
}
|
||||
|
||||
public function bulkDelete(array $ids) {
|
||||
if (empty($ids)) {
|
||||
return 0;
|
||||
}
|
||||
$this->entityManager->getConnection()->beginTransaction();
|
||||
try {
|
||||
// Delete children
|
||||
|
Reference in New Issue
Block a user