Code Duplication    Length = 4-4 lines in 2 locations

web_interface/astpp/application/libraries/astpp/common.php 2 locations

@@ 1091-1094 (lines=4) @@
1088
				$message = str_replace('#LINK#', $accountinfo['link'], $message);
1089
				break;
1090
1091
			case 'email_forgot_confirmation':
1092
				$message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message);
1093
				$message = str_replace('#CONFIRM#', $accountinfo['confirm'], $message);
1094
				break;
1095
1096
			case 'email_signup_confirmation':
1097
				$message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message);
@@ 1096-1099 (lines=4) @@
1093
				$message = str_replace('#CONFIRM#', $accountinfo['confirm'], $message);
1094
				break;
1095
1096
			case 'email_signup_confirmation':
1097
				$message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message);
1098
				$message = str_replace('#CONFIRM#', $accountinfo['confirm'], $message);
1099
				break;
1100
			case 'add_sip_device':
1101
				$message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message);
1102
				$message = str_replace('#USERNAME#', $accountinfo['number'], $message);