CloneSet552


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.978statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19220
components/com_users/models/registration.php
29284
components/com_users/models/registration.php
Clone Instance
1
Line Count
9
Source Line
220
Source File
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;


Clone Instance
2
Line Count
9
Source Line
284
Source File
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 ACTIVATION SEND MAIL FAILED'));
                        return FALSE;
                      }

                return TRUE;


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2413d4a0]]
'USERS ACTIVATION SEND MAIL FAILED' 
12[[#2413d4a0]]
'USERS REGISTRATION SEND MAIL FAILED' 
21[[#2413d480]]
TRUE 
22[[#2413d480]]
$user->id