|
@@ -35,7 +35,7 @@ |
|
|
block discarded – undo |
|
35
|
35
|
} else { |
|
36
|
36
|
// Fix. If client certificate exists in database but not exists certificates files. |
|
37
|
37
|
// Delete invalid files. Generate new certificates. |
|
38
|
|
- if (! Storage::exists($clientCertificate->certificate) || ! Storage::exists($clientCertificate->private_key)) { |
|
|
38
|
+ if (!Storage::exists($clientCertificate->certificate) || !Storage::exists($clientCertificate->private_key)) { |
|
39
|
39
|
if (Storage::exists($clientCertificate->certificate)) { |
|
40
|
40
|
Storage::delete($clientCertificate->certificate); |
|
41
|
41
|
} |
Please login to merge, or discard this patch.