@@ -56,8 +56,7 @@ |
||
| 56 | 56 | $report->delete(); |
| 57 | 57 | $delta++; |
| 58 | 58 | } |
| 59 | - } |
|
| 60 | - finally { |
|
| 59 | + } finally { |
|
| 61 | 60 | DB::get_conn()->transactionEnd(); |
| 62 | 61 | } |
| 63 | 62 | |
@@ -49,8 +49,7 @@ |
||
| 49 | 49 | } |
| 50 | 50 | ++$delta; |
| 51 | 51 | } |
| 52 | - } |
|
| 53 | - finally { |
|
| 52 | + } finally { |
|
| 54 | 53 | DB::get_conn()->transactionEnd(); |
| 55 | 54 | } |
| 56 | 55 | |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | if (count($duration_parts) > 1) { |
| 60 | 60 | $last = array_pop($duration_parts); |
| 61 | 61 | $duration_string = implode(', ', $duration_parts) . ' and ' . $last; |
| 62 | - } |
|
| 63 | - else { |
|
| 62 | + } else { |
|
| 64 | 63 | $duration_string = reset($duration_parts); |
| 65 | 64 | } |
| 66 | 65 | |
@@ -228,8 +228,7 @@ |
||
| 228 | 228 | } else { |
| 229 | 229 | $cspHeader = rtrim($cspHeader, ';') . "; {$this->getReportURIDirective()};"; |
| 230 | 230 | } |
| 231 | - } |
|
| 232 | - else { |
|
| 231 | + } else { |
|
| 233 | 232 | $cspHeader = $this->getReportURIDirective() . ';'; |
| 234 | 233 | } |
| 235 | 234 | // Add report-to directive. |