@@ 173-176 (lines=4) @@ | ||
170 | $instance = Jetpack::init(); |
|
171 | $log = array(); |
|
172 | // Bump numbers |
|
173 | if ( ! empty( $this->success['plugin'] ) ) { |
|
174 | $instance->stat( 'autoupdates/plugin-success', count( $this->success['plugin'] ) ); |
|
175 | $log['plugins_success'] = $this->success['plugin']; |
|
176 | } |
|
177 | ||
178 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
179 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
@@ 178-181 (lines=4) @@ | ||
175 | $log['plugins_success'] = $this->success['plugin']; |
|
176 | } |
|
177 | ||
178 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
179 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
180 | $log['plugins_failed'] = $this->failed['plugin']; |
|
181 | } |
|
182 | ||
183 | if ( ! empty( $this->success['theme'] ) ) { |
|
184 | $instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) ); |