Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.986 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 825 | libraries/joomla/access/helper.php |
2 | 9 | 837 | libraries/joomla/access/helper.php |
| ||||
// Delete any asset maps to the assetgroup. $db->setQuery( 'DELETE FROM `#__access_asset_assetgroup_map`' . ' WHERE `group_id` = ' . (int) $groupId); $db->query(); // Check for a database error. if ($db->getErrorNum()) { return new JException($db->getErrorMsg()); } |
| ||||
// Delete the assetgroup. $db->setQuery( 'DELETE FROM `#__access_assetgroups`' . ' WHERE `id` = ' . (int) $groupId); $db->query(); // Check for a database error. if ($db->getErrorNum()) { return new JException($db->getErrorMsg()); } |
| |||
// Delete any asset maps to the assetgroup. // Delete the assetgroup. $db->setQuery( [[#variable20dd7b20]] . [[#variable20dd7b00]] . (int) $groupId); $db->query(); // Check for a database error. if ($db->getErrorNum()) { return new JException($db->getErrorMsg()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20dd7b20]] | 'DELETE FROM `#__access_asset_assetgroup_map`' |
1 | 2 | [[#20dd7b20]] | 'DELETE FROM `#__access_assetgroups`' |
2 | 1 | [[#20dd7b00]] | ' WHERE `group_id` = ' |
2 | 2 | [[#20dd7b00]] | ' WHERE `id` = ' |