Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.991 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 56 | administrator/components/com_users/controllers/config.php |
2 | 8 | 117 | 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; } |
| ||||
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; } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3cb591c0]] | 'USERS_CONFIG_IMPORT_FAILED' |
1 | 2 | [[#3cb591c0]] | 'USERS_CONFIG_SAVE_FAILED' |
2 | 1 | [[#3cb59120]] | 'index.php?option=com_users&view=config&layout=import&tmpl=component' |
2 | 2 | [[#3cb59120]] | 'index.php?option=com_users&view=config&tmpl=component' |