@@ 190-193 (lines=4) @@ | ||
187 | $instance = Jetpack::init(); |
|
188 | $log = array(); |
|
189 | // Bump numbers |
|
190 | if ( ! empty( $this->success['plugin'] ) ) { |
|
191 | $instance->stat( 'autoupdates/plugin-success', count( $this->success['plugin'] ) ); |
|
192 | $log['plugins_success'] = $this->success['plugin']; |
|
193 | } |
|
194 | ||
195 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
196 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
@@ 195-198 (lines=4) @@ | ||
192 | $log['plugins_success'] = $this->success['plugin']; |
|
193 | } |
|
194 | ||
195 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
196 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
197 | $log['plugins_failed'] = $this->failed['plugin']; |
|
198 | } |
|
199 | ||
200 | if ( ! empty( $this->success['theme'] ) ) { |
|
201 | $instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) ); |