File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ private function shouldRun(): bool {
5454 }
5555
5656 public function run (IOutput $ output ): void {
57+ if (!$ this ->shouldRun ()) {
58+ return ;
59+ }
60+
5761 if ($ this ->manager ->isEnabled ()) {
5862 if ($ this ->config ->getSystemValue ('encryption.legacy_format_support ' , '' ) === '' ) {
5963 $ this ->config ->setSystemValue ('encryption.legacy_format_support ' , true );
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ private function shouldRun(): bool {
5454 }
5555
5656 public function run (IOutput $ output ): void {
57+ if (!$ this ->shouldRun ()) {
58+ return ;
59+ }
60+
5761 if ($ this ->manager ->isEnabled ()) {
5862 if ($ this ->config ->getSystemValue ('encryption.key_storage_migrated ' , '' ) === '' ) {
5963 $ this ->config ->setSystemValue ('encryption.key_storage_migrated ' , false );
You can’t perform that action at this time.
0 commit comments