Code Duplication    Length = 2-2 lines in 2 locations

cron.php 1 location

@@ 250-251 (lines=2) @@
247
	global $modSettings;
248
249
	// Ignore errors if we're ignoring them or they are strict notices from PHP 5 (which cannot be solved without breaking PHP 4.)
250
	if (error_reporting() == 0 || (defined('E_STRICT') && $error_level == E_STRICT && !empty($modSettings['enableErrorLogging'])))
251
		return;
252
253
	$error_type = 'cron';
254

Sources/Errors.php 1 location

@@ 215-216 (lines=2) @@
212
	global $settings, $modSettings, $db_show_debug;
213
214
	// Ignore errors if we're ignoring them or they are strict notices from PHP 5 (which cannot be solved without breaking PHP 4.)
215
	if (error_reporting() == 0 || (defined('E_STRICT') && $error_level == E_STRICT && !empty($modSettings['enableErrorLogging'])))
216
		return;
217
218
	if (strpos($file, 'eval()') !== false && !empty($settings['current_include_filename']))
219
	{