Code Duplication    Length = 12-13 lines in 2 locations

admin_pages/venues/Venues_Admin_Page.core.php 1 location

@@ 519-531 (lines=13) @@
516
    }
517
518
519
    protected function _set_list_table_views_category_list()
520
    {
521
        $this->_views = array(
522
            'all' => array(
523
                'slug'        => 'all',
524
                'label'       => __('All', 'event_espresso'),
525
                'count'       => 0,
526
                'bulk_action' => array(
527
                    'delete_categories' => __('Delete Permanently', 'event_espresso'),
528
                ),
529
            ),
530
        );
531
    }
532
533
534
    protected function _overview_list_table()

admin_pages/events/Events_Admin_Page.core.php 1 location

@@ 637-648 (lines=12) @@
634
    /**
635
     * Populating the _views property for the category list table view.
636
     */
637
    protected function _set_list_table_views_category_list()
638
    {
639
        $this->_views = array(
640
            'all' => array(
641
                'slug'        => 'all',
642
                'label'       => esc_html__('All', 'event_espresso'),
643
                'count'       => 0,
644
                'bulk_action' => array(
645
                    'delete_categories' => esc_html__('Delete Permanently', 'event_espresso'),
646
                ),
647
            ),
648
        );
649
    }
650
651