Code Duplication    Length = 7-7 lines in 7 locations

includes/admin/tools/data/class-give-tools-recount-donor-stats.php 1 location

@@ 217-223 (lines=7) @@
214
	/**
215
	 * Headers
216
	 */
217
	public function headers() {
218
		ignore_user_abort( true );
219
220
		if ( ! give_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
221
			set_time_limit( 0 );
222
		}
223
	}
224
225
	/**
226
	 * Perform the export

includes/admin/tools/data/class-give-tools-recount-single-donor-stats.php 1 location

@@ 202-208 (lines=7) @@
199
		}
200
	}
201
202
	public function headers() {
203
		ignore_user_abort( true );
204
205
		if ( ! give_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
206
			set_time_limit( 0 );
207
		}
208
	}
209
210
	/**
211
	 * Perform the export

includes/admin/tools/data/class-give-tools-recount-income.php 1 location

@@ 178-184 (lines=7) @@
175
	/**
176
	 * Headers.
177
	 */
178
	public function headers() {
179
		ignore_user_abort( true );
180
181
		if ( ! give_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
182
			set_time_limit( 0 );
183
		}
184
	}
185
186
	/**
187
	 * Perform the export

includes/admin/tools/data/class-give-tools-reset-stats.php 1 location

@@ 219-225 (lines=7) @@
216
	/**
217
	 * Headers
218
	 */
219
	public function headers() {
220
		ignore_user_abort( true );
221
222
		if ( ! give_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
223
			set_time_limit( 0 );
224
		}
225
	}
226
227
	/**
228
	 * Perform the export

includes/admin/tools/data/class-give-tools-delete-test-transactions.php 1 location

@@ 149-155 (lines=7) @@
146
	/**
147
	 * Headers
148
	 */
149
	public function headers() {
150
		ignore_user_abort( true );
151
152
		if ( ! give_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
153
			set_time_limit( 0 );
154
		}
155
	}
156
157
	/**
158
	 * Perform the export

includes/admin/tools/data/class-give-tools-recount-all-stats.php 1 location

@@ 265-271 (lines=7) @@
262
	/**
263
	 * Set headers.
264
	 */
265
	public function headers() {
266
		ignore_user_abort( true );
267
268
		if ( ! give_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
269
			set_time_limit( 0 );
270
		}
271
	}
272
273
	/**
274
	 * Perform the export

includes/admin/tools/data/class-give-tools-recount-form-stats.php 1 location

@@ 201-207 (lines=7) @@
198
		}
199
	}
200
201
	public function headers() {
202
		ignore_user_abort( true );
203
204
		if ( ! give_is_func_disabled( 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) {
205
			set_time_limit( 0 );
206
		}
207
	}
208
209
	/**
210
	 * Perform the export