|
@@ 179-182 (lines=4) @@
|
| 176 |
|
$log = array(); |
| 177 |
|
// Bump numbers |
| 178 |
|
|
| 179 |
|
if ( ! empty( $this->success['theme'] ) ) { |
| 180 |
|
$instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) ); |
| 181 |
|
$log['themes_success'] = $this->success['theme']; |
| 182 |
|
} |
| 183 |
|
|
| 184 |
|
if ( ! empty( $this->failed['theme'] ) ) { |
| 185 |
|
$instance->stat( 'autoupdates/theme-fail', count( $this->failed['theme'] ) ); |
|
@@ 184-187 (lines=4) @@
|
| 181 |
|
$log['themes_success'] = $this->success['theme']; |
| 182 |
|
} |
| 183 |
|
|
| 184 |
|
if ( ! empty( $this->failed['theme'] ) ) { |
| 185 |
|
$instance->stat( 'autoupdates/theme-fail', count( $this->failed['theme'] ) ); |
| 186 |
|
$log['themes_failed'] = $this->failed['theme']; |
| 187 |
|
} |
| 188 |
|
|
| 189 |
|
$instance->do_stats( 'server_side' ); |
| 190 |
|
|