@@ -170,6 +170,9 @@ |
||
170 | 170 | $listener->get_full_sync_queue()->reset(); |
171 | 171 | } |
172 | 172 | |
173 | + /** |
|
174 | + * @param integer $default |
|
175 | + */ |
|
173 | 176 | private function get_status_option( $option, $default = null ) { |
174 | 177 | $prefix = self::STATUS_OPTION_PREFIX; |
175 | 178 |
@@ -60,6 +60,9 @@ |
||
60 | 60 | self::set_importing( null ); |
61 | 61 | } |
62 | 62 | |
63 | + /** |
|
64 | + * @param boolean|null $is_importing |
|
65 | + */ |
|
63 | 66 | static function set_importing( $is_importing ) { |
64 | 67 | // set to NULL to revert to WP_IMPORTING, the standard behaviour |
65 | 68 | self::$is_importing = $is_importing; |