File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ public function run(IOutput $output): void {
5858 return ;
5959 }
6060
61- if ($ this ->manager ->isEnabled ()) {
61+ $ masterKeyId = $ this ->config ->getAppValue ('encryption ' , 'masterKeyId ' );
62+ if ($ this ->manager ->isEnabled () || !empty ($ masterKeyId )) {
6263 if ($ this ->config ->getSystemValue ('encryption.legacy_format_support ' , '' ) === '' ) {
6364 $ this ->config ->setSystemValue ('encryption.legacy_format_support ' , true );
6465 }
Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ public function run(IOutput $output): void {
5858 return ;
5959 }
6060
61- if ($ this ->manager ->isEnabled ()) {
61+ $ masterKeyId = $ this ->config ->getAppValue ('encryption ' , 'masterKeyId ' );
62+ if ($ this ->manager ->isEnabled () || !empty ($ masterKeyId )) {
6263 if ($ this ->config ->getSystemValue ('encryption.key_storage_migrated ' , '' ) === '' ) {
6364 $ this ->config ->setSystemValue ('encryption.key_storage_migrated ' , false );
6465 }
You can’t perform that action at this time.
0 commit comments