Code Duplication    Length = 1-1 lines in 2 locations

api/src/Mail.php 2 locations

@@ 3446-3446 (lines=1) @@
3443
			{
3444
				$error = null;
3445
				if (($_folderName = $this->createFolder('', $_folderName, $error))) $created = true;
3446
				if ($error) error_log(__METHOD__.' ('.__LINE__.') '.' Failed to create Folder '.$_folderName." for $_type:".$error);
3447
			}
3448
			catch(Exception $e)
3449
			{
@@ 3483-3483 (lines=1) @@
3480
					$error = null;
3481
					$this->createFolder('', $prefix.$types[$_type]['autoFolderName'],$error);
3482
					$_folderName = $prefix.$types[$_type]['autoFolderName'];
3483
					if ($error) error_log(__METHOD__.' ('.__LINE__.') '.' Failed to create Folder '.$_folderName." for $_type:".$error);
3484
				}
3485
				catch(Exception $e)
3486
				{