Code Duplication    Length = 6-6 lines in 2 locations

main/admin/user_import.php 1 location

@@ 205-210 (lines=6) @@
202
                    }
203
                }
204
            }
205
            if (!empty($user['ClassId'])) {
206
                $classId = explode('|', trim($user['ClassId']));
207
                foreach ($classId as $id) {
208
                    $usergroup->subscribe_users_to_usergroup($id, array($user_id), false);
209
                }
210
            }
211
212
            // Saving extra fields.
213
            global $extra_fields;

main/admin/user_update_import.php 1 location

@@ 205-210 (lines=6) @@
202
                    }
203
                }
204
            }
205
            if (!empty($user['ClassId'])) {
206
                $classId = explode('|', trim($user['ClassId']));
207
                foreach ($classId as $id) {
208
                    $usergroup->subscribe_users_to_usergroup($id, array($user_id), false);
209
                }
210
            }
211
212
            // Saving extra fields.
213
            global $extra_fields;