Code Duplication    Length = 2-2 lines in 2 locations

cron.php 1 location

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

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
	{