Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.978 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 220 | components/com_users/models/registration.php |
2 | 9 | 284 | components/com_users/models/registration.php |
| ||||
// Send the registration e-mail. $return= JUtility::sendMail($data['mailfrom'], $data['fromname'], $data['email'], $template->getTitle(), $template->getBody()); // Check for an error. if ($return !== TRUE) { $this->setError(JText::_('USERS REGISTRATION SEND MAIL FAILED')); return FALSE; } return $user->id; |
| ||||
// Send the registration e-mail. $return= JUtility::sendMail($data['mailfrom'], $data['fromname'], $data['email'], $template->getTitle(), $template->getBody()); // Check for an error. if ($return !== TRUE) { $this->setError(JText::_('USERS ACTIVATION SEND MAIL FAILED')); return FALSE; } return TRUE; |
| |||
// Send the registration e-mail. $return=JUtility::sendMail($data['mailfrom'],$data['fromname'],$data['email'],$template->getTitle(),$template->getBody()); // Check for an error. if ($return !== TRUE) { $this->setError(JText::_( [[#variable2413d4a0]])); return FALSE; } return [[#variable2413d480]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2413d4a0]] | 'USERS ACTIVATION SEND MAIL FAILED' |
1 | 2 | [[#2413d4a0]] | 'USERS REGISTRATION SEND MAIL FAILED' |
2 | 1 | [[#2413d480]] | TRUE |
2 | 2 | [[#2413d480]] | $user->id |