CloneSet465


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10301.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11066
libraries/joomla/user/helper.php
210119
libraries/joomla/user/helper.php
310174
libraries/joomla/user/helper.php
Clone Instance
1
Line Count
10
Source Line
66
Source File
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;


Clone Instance
2
Line Count
10
Source Line
119
Source File
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;


Clone Instance
3
Line Count
10
Source Line
174
Source File
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;


Clone AbstractionParameter Count: 0Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None