mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
update config
This commit is contained in:
@@ -84,11 +84,16 @@ class patch_410alpha20a implements patchInterface
|
||||
$app['conf']->set(['geocoding-providers', 0, 'map-provider'], $geocodingName);
|
||||
}
|
||||
|
||||
// remove registry classic section
|
||||
// remove registry classic section if exist
|
||||
if ($app['conf']->has(['registry', 'classic'])) {
|
||||
$app['conf']->remove(['registry', 'classic']);
|
||||
}
|
||||
|
||||
// remove bridge section if exist
|
||||
if ($app['conf']->has(['main', 'bridge'])) {
|
||||
$app['conf']->remove(['main', 'bridge']);
|
||||
}
|
||||
|
||||
// insert RGPD bloc if not exist
|
||||
if (!$app['conf']->has(['user_account', 'deleting_policies', 'email_confirmation'])) {
|
||||
$app['conf']->set(['user_account', 'deleting_policies', 'email_confirmation'], true);
|
||||
|
Reference in New Issue
Block a user