Completed
Push — add/legacy-files ( 4cc789...bef25d )
by
unknown
157:43 queued 148:20
created

Jetpack_Sync_Settings::set_importing()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Class Jetpack_Sync_Settings
5
 *
6
 * @deprecated Use Automattic\Jetpack\Sync\Settings
7
 */
8
class Jetpack_Sync_Settings {
9
10
	static function get_settings() {
11
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
12
		return Settings::get_settings();
13
	}
14
15
	static function get_setting( $setting ) {
16
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
17
		return Settings::get_setting( $setting );
18
	}
19
20
	static function update_settings( $new_settings ) {
21
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
22
		Settings::update_settings( $new_settings );
23
	}
24
25
	static function is_network_setting( $setting ) {
26
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
27
		return Settings::is_network_setting( $setting );
28
	}
29
30
	static function get_blacklisted_post_types_sql() {
31
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
32
		return Settings::get_blacklisted_post_types_sql();
33
	}
34
35
	static function get_whitelisted_post_meta_sql() {
36
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
37
		return Settings::get_whitelisted_post_meta_sql();
38
	}
39
40
	static function get_whitelisted_comment_meta_sql() {
41
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
42
		return Settings::get_whitelisted_comment_meta_sql();
43
	}
44
45
	static function get_comments_filter_sql() {
46
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
47
		return Settings::get_comments_filter_sql();
48
	}
49
50
	static function reset_data() {
51
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
52
		Settings::reset_data();
53
	}
54
55
	static function set_importing( $is_importing ) {
56
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
57
		Settings::set_importing( $is_importing );
58
	}
59
60
	static function is_importing() {
61
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
62
		Settings::is_importing();
63
	}
64
65
	static function is_sync_enabled() {
66
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
67
		Settings::is_sync_enabled();
68
	}
69
70
	static function set_doing_cron( $is_doing_cron ) {
71
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
72
		Settings::set_doing_cron( $is_doing_cron );
73
	}
74
75
	static function is_doing_cron() {
76
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
77
		Settings::is_doing_cron();
78
	}
79
80
	static function is_syncing() {
81
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
82
		return Settings::is_syncing();
83
	}
84
85
	static function set_is_syncing( $is_syncing ) {
86
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
87
		Settings::set_is_syncing( $is_syncing );
88
	}
89
90
	static function is_sending() {
91
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
92
		Settings::is_sending();
93
	}
94
95
	static function set_is_sending( $is_sending ) {
96
		_deprecated_function( __METHOD__, 'jetpack-7.5', 'Automattic\Jetpack\Sync\Settings' );
97
		Settings::set_is_sending( $is_sending );
98
	}
99
100
}
101