Code Duplication    Length = 3-3 lines in 2 locations

core/libraries/batch/JobHandlers/RegistrationsReport.php 1 location

@@ 384-386 (lines=3) @@
381
                        $reg_row['Ticket.TKT_name']
382
                    );
383
                    $datetimes_strings = array();
384
                    foreach (\EEM_Datetime::instance()->get_all_wpdb_results(
385
                        array(
386
                            array('Ticket.TKT_ID' => $reg_row['Ticket.TKT_ID']),
387
                            'order_by'                 => array('DTT_EVT_start' => 'ASC'),
388
                            'default_where_conditions' => 'none',
389
                        )

core/db_classes/EE_Export.class.php 1 location

@@ 547-549 (lines=3) @@
544
                        $reg_row['Ticket.TKT_name']
545
                    );
546
                    $datetimes_strings = array();
547
                    foreach (EEM_Datetime::instance()->get_all_wpdb_results(
548
                        array(
549
                            array('Ticket.TKT_ID' => $reg_row['Ticket.TKT_ID']),
550
                            'order_by'                 => array('DTT_EVT_start' => 'ASC'),
551
                            'default_where_conditions' => 'none',
552
                        )