Code Duplication    Length = 3-3 lines in 2 locations

Sources/Attachments.php 1 location

@@ 215-217 (lines=3) @@
212
		if (!empty($this->_generalErrors))
213
		{
214
			// And delete the files 'cos they ain't going nowhere.
215
			foreach ($_FILES['attachment']['tmp_name'] as $n => $dummy)
216
				if (file_exists($_FILES['attachment']['tmp_name'][$n]))
217
					unlink($_FILES['attachment']['tmp_name'][$n]);
218
219
			$_FILES['attachment']['tmp_name'] = array();
220

Sources/Subs-Attachments.php 1 location

@@ 395-397 (lines=3) @@
392
		$_SESSION['temp_attachments']['initial_error'] = $initial_error;
393
394
		// And delete the files 'cos they ain't going nowhere.
395
		foreach ($_FILES['attachment']['tmp_name'] as $n => $dummy)
396
			if (file_exists($_FILES['attachment']['tmp_name'][$n]))
397
				unlink($_FILES['attachment']['tmp_name'][$n]);
398
399
		$_FILES['attachment']['tmp_name'] = array();
400
	}