CloneSet1254


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.986statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19825
libraries/joomla/access/helper.php
29837
libraries/joomla/access/helper.php
Clone Instance
1
Line Count
9
Source Line
825
Source File
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());
                      }


Clone Instance
2
Line Count
9
Source Line
837
Source File
libraries/joomla/access/helper.php

                // 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());
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20dd7b20]]
'DELETE FROM `#__access_asset_assetgroup_map`' 
12[[#20dd7b20]]
'DELETE FROM `#__access_assetgroups`' 
21[[#20dd7b00]]
' WHERE `group_id` = ' 
22[[#20dd7b00]]
' WHERE `id` = '