| @@ -2,9 +2,8 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Monthly summary email class |
| 4 | 4 | * |
| 5 | 5 | * @since 6.7 |
| 6 | - * | |
| 7 | 6 | * @package Formidable |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -21,18 +20,6 @@ | ||
| 21 | 20 | } |
| 22 | 21 | |
| 23 | 22 | protected function get_top_forms_label() { |
| 24 | 23 | return __( 'Top forms this month', 'formidable' ); |
| 25 | - } | |
| 26 | - | |
| 27 | - /** | |
| 28 | - * @since 6.8.4 | |
| 29 | - */ | |
| 30 | - protected function get_content_args() { | |
| 31 | - // Do not send monthly email if there is no entries this month. | |
| 32 | - if ( ! FrmEmailSummaryHelper::get_entries_count( $this->from_date, $this->to_date ) ) { | |
| 33 | - return false; | |
| 34 | - } | |
| 35 | - | |
| 36 | - return parent::get_content_args(); | |
| 37 | 24 | } |
| 38 | 25 | } |