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

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