Fix Doctrine deprecation warnings in lib

[MAILPOET-3146]
This commit is contained in:
Rostislav Wolny
2020-10-07 10:36:14 +02:00
committed by Veljko V
parent b4534c4c6e
commit 2f1ea71e73
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class SettingsRepository extends Repository {
'value' => is_array($value) ? serialize($value) : $value,
'now' => $now,
]);
$this->entityManager->clear(SettingEntity::class);
$this->entityManager->getUnitOfWork()->clear(SettingEntity::class);
}
protected function getEntityClassName() {