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

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