Fix Doctrine deprecation warnings in lib
[MAILPOET-3146]
This commit is contained in:
committed by
Veljko V
parent
b4534c4c6e
commit
2f1ea71e73
@ -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() {
|
||||
|
Reference in New Issue
Block a user