| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 13 | 3 | 2 | 0.958 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 13 | 114 | administrator/components/com_installer/models/extension.php |
| 2 | 13 | 215 | administrator/components/com_installer/models/languages.php |
| 3 | 13 | 198 | administrator/components/com_installer/models/manage.php |
| ||||
if (count($failed)) {
// There was an error in uninstalling the package
$msg= JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Error'));
$result= FALSE;
}
else {
// Package uninstalled sucessfully
$msg= JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Success'));
$result= TRUE;
}
$mainframe->enqueueMessage($msg);
$this->setState('action', 'remove');
$this->setState('name', $installer->get('name'));
|
| ||||
if (count($failed)) {
// There was an error in uninstalling the package
$msg= JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Error'));
$result= FALSE;
}
else {
// Package uninstalled sucessfully
$msg= JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Success'));
$result= TRUE;
}
$mainframe->enqueueMessage($msg);
$this->setState('action', 'remove');
$this->setState('message', $installer->message);
|
| ||||
if (count($failed)) {
// There was an error in uninstalling the package
$msg= JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Error'));
$result= FALSE;
}
else {
// Package uninstalled sucessfully
$msg= JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Success'));
$result= TRUE;
}
$mainframe->enqueueMessage($msg);
$this->setState('action', 'remove');
$this->setState('name', $installer->get('name'));
|
| |||
if (count($failed)) {
// There was an error in uninstalling the package
$msg=JText::sprintf('UNINSTALLEXT',JText::_($this->_type),JText::_('Error'));
$result=FALSE;
}
else {
// Package uninstalled sucessfully
$msg=JText::sprintf('UNINSTALLEXT',JText::_($this->_type),JText::_('Success'));
$result=TRUE;
}
$mainframe->enqueueMessage($msg);
$this->setState('action','remove');
$this->setState( [[#variable237bfc60]], [[#variable237bfd40]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#237bfc60]] | 'message' |
| 1 | 2 | [[#237bfc60]] | 'name' |
| 1 | 3 | [[#237bfc60]] | 'name' |
| 2 | 1 | [[#237bfd40]] | $installer->message |
| 2 | 2 | [[#237bfd40]] | $installer->get('name') |
| 2 | 3 | [[#237bfd40]] | $installer->get('name') |