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

@@ 229-230 (lines=2) @@
226
	global $settings, $modSettings, $db_show_debug;
227
228
	// Ignore errors if we're ignoring them or they are strict notices from PHP 5 (which cannot be solved without breaking PHP 4.)
229
	if (error_reporting() == 0 || (defined('E_STRICT') && $error_level == E_STRICT && !empty($modSettings['enableErrorLogging'])))
230
		return;
231
232
	if (strpos($file, 'eval()') !== false && !empty($settings['current_include_filename']))
233
	{