Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 0 | 1.000 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 66 | libraries/joomla/user/helper.php |
2 | 10 | 119 | libraries/joomla/user/helper.php |
3 | 10 | 174 | libraries/joomla/user/helper.php |
| ||||
// Set the group data for any preloaded user objects. $temp= & JFactory::getUser( (int) $userId); $temp->groups = $user->groups; // Set the group data for the user object in the session. $temp= & JFactory::getUser(); if ($temp->id == $userId) { $temp->groups = $user->groups; } return TRUE; |
| ||||
// Set the group data for any preloaded user objects. $temp= & JFactory::getUser( (int) $userId); $temp->groups = $user->groups; // Set the group data for the user object in the session. $temp= & JFactory::getUser(); if ($temp->id == $userId) { $temp->groups = $user->groups; } return TRUE; |
| ||||
// Set the group data for any preloaded user objects. $temp= & JFactory::getUser( (int) $userId); $temp->groups = $user->groups; // Set the group data for the user object in the session. $temp= & JFactory::getUser(); if ($temp->id == $userId) { $temp->groups = $user->groups; } return TRUE; |
| |||
// Set the group data for any preloaded user objects. $temp= &JFactory::getUser( (int) $userId); $temp->groups =$user->groups; // Set the group data for the user object in the session. $temp= &JFactory::getUser(); if ($temp->id == $userId) { $temp->groups =$user->groups; } return TRUE; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |