Code Duplication    Length = 7-7 lines in 2 locations

locallib.php 2 locations

@@ 1981-1987 (lines=7) @@
1978
                }
1979
            }
1980
        }
1981
        if ($displayrow) {
1982
            $rowdata = bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools);
1983
            if (!empty($rowdata)) {
1984
                $row = bigbluebuttonbn_get_recording_table_row($bbbsession, $recording, $rowdata);
1985
                array_push($table->data, $row);
1986
            }
1987
        }
1988
    }
1989
    return $table;
1990
}
@@ 2326-2332 (lines=7) @@
2323
                }
2324
            }
2325
        }
2326
        if ($displayrow) {
2327
            $rowdata = bigbluebuttonbn_get_opencast_recording_data_row($bbbsession, $ocrecording);
2328
            if (!empty($rowdata)) {
2329
                $row = bigbluebuttonbn_get_opencast_recording_table_row($bbbsession, $ocrecording, $rowdata);
2330
                array_push($table->data, $row);
2331
            }
2332
        }
2333
    }
2334
    return $table;
2335
}