CloneSet734


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.991if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11056
administrator/components/com_users/controllers/config.php
28117
administrator/components/com_users/controllers/config.php
Clone Instance
1
Line Count
10
Source Line
56
Source File
administrator/components/com_users/controllers/config.php

                // Handle the response.
                if ($return === FALSE)
                {
                        $message=  JText::sprintf('USERS_CONFIG_IMPORT_FAILED', $model->getError());
                        $this->setRedirect('index.php?option=com_users&view=config&layout=import&tmpl=component', $message, 'notice');
                        return FALSE;
                      }
                else
                {
                        $this->setRedirect('index.php?option=com_users&view=config&layout=close&tmpl=component');
                        return TRUE;
                      }


Clone Instance
2
Line Count
8
Source Line
117
Source File
administrator/components/com_users/controllers/config.php

                if ($return === FALSE) {
                        $message=  JText::sprintf('USERS_CONFIG_SAVE_FAILED', $model->getError());
                        $this->setRedirect('index.php?option=com_users&view=config&tmpl=component', $message, 'notice');
                        return FALSE;
                      }
                else {
                        $this->setRedirect('index.php?option=com_users&view=config&layout=close&tmpl=component');
                        return TRUE;
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// Handle the response.
if ($return === FALSE) {
  $message=JText::sprintf( [[#variable3cb591c0]],$model->getError());
  $this->setRedirect( [[#variable3cb59120]],$message,'notice');
  return FALSE;
}
else {
  $this->setRedirect('index.php?option=com_users&view=config&layout=close&tmpl=component');
  return TRUE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3cb591c0]]
'USERS_CONFIG_IMPORT_FAILED' 
12[[#3cb591c0]]
'USERS_CONFIG_SAVE_FAILED' 
21[[#3cb59120]]
'index.php?option=com_users&view=config&layout=import&tmpl=component' 
22[[#3cb59120]]
'index.php?option=com_users&view=config&tmpl=component'