Code Duplication    Length = 7-7 lines in 2 locations

mod/gc_onboard/start.php 1 location

@@ 100-106 (lines=7) @@
97
    $userEnt = elgg_get_logged_in_user_entity();
98
99
    //avatar
100
    if($userEnt->getIconURL() !=  elgg_get_site_url() . '_graphics/icons/user/defaultmedium.gif'){
101
        $avIcon = '<span class="fa fa-check text-primary"></span>';
102
        $avTotal = 100;
103
    }else{
104
        $avIcon = '<span class="fa fa-exclamation-triangle text-danger"></span>';
105
        $avTotal = 0;
106
    }
107
108
    //About me
109
    if($userEnt->description){

mod/gc_onboard_collab/start.php 1 location

@@ 73-79 (lines=7) @@
70
    $userEnt = elgg_get_logged_in_user_entity();
71
72
    //avatar
73
    if($userEnt->getIconURL() !=  elgg_get_site_url() . '_graphics/icons/user/defaultmedium.gif'){
74
        $avIcon = '<span class="fa fa-check text-primary"></span>';
75
        $avTotal = 100;
76
    }else{
77
        $avIcon = '<span class="fa fa-exclamation-triangle text-danger"></span>';
78
        $avTotal = 0;
79
    }
80
81
    //About me
82
    if($userEnt->description){