Code Duplication    Length = 1-1 lines in 2 locations

api/src/Mail.php 2 locations

@@ 3417-3417 (lines=1) @@
3414
			{
3415
				$error = null;
3416
				if (($_folderName = $this->createFolder('', $_folderName, $error))) $created = true;
3417
				if ($error) error_log(__METHOD__.' ('.__LINE__.') '.' Failed to create Folder '.$_folderName." for $_type:".$error);
3418
			}
3419
			catch(Exception $e)
3420
			{
@@ 3454-3454 (lines=1) @@
3451
					$error = null;
3452
					$this->createFolder('', $prefix.$types[$_type]['autoFolderName'],$error);
3453
					$_folderName = $prefix.$types[$_type]['autoFolderName'];
3454
					if ($error) error_log(__METHOD__.' ('.__LINE__.') '.' Failed to create Folder '.$_folderName." for $_type:".$error);
3455
				}
3456
				catch(Exception $e)
3457
				{