| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.987 | statement_block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 106 | installation/models/database.php |
| 2 | 5 | 114 | installation/models/database.php |
| ||||
{
// Attempt to delete the old database tables.
if (!$this->deleteDatabase($db, $options->db_name ,$options->db_prefix)) {
$this->setError(JText::_('WARNDELETEDB'));
return FALSE;
}
}
|
| ||||
{
// If the database isn't being deleted, back it up.
if (!$this->backupDatabase($db, $options->db_name ,$options->db_prefix)) {
$this->setError(JText::_('WARNBACKINGUPDB'));
return FALSE;
}
}
|
| |||
{
// Attempt to delete the old database tables.
// If the database isn't being deleted, back it up.
if (!$this-> [[#variable23939740]]($db,$options->db_name ,$options->db_prefix)) {
$this->setError(JText::_( [[#variable23939720]]));
return FALSE;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#23939740]] | deleteDatabase |
| 1 | 2 | [[#23939740]] | backupDatabase |
| 2 | 1 | [[#23939720]] | 'WARNDELETEDB' |
| 2 | 2 | [[#23939720]] | 'WARNBACKINGUPDB' |