Code Duplication    Length = 6-6 lines in 2 locations

catalog/admin/includes/modules/newsletters/newsletter.php 1 location

@@ 17-22 (lines=6) @@
14
  class newsletter {
15
    var $show_choose_audience, $title, $content, $content_html;
16
17
    function __construct($title, $content, $content_html = null) {
18
      $this->show_choose_audience = false;
19
      $this->title = $title;
20
      $this->content = $content;
21
      $this->content_html = $content_html;
22
    }
23
24
    function choose_audience() {
25
      return false;

catalog/admin/includes/modules/newsletters/product_notification.php 1 location

@@ 17-22 (lines=6) @@
14
  class product_notification {
15
    var $show_choose_audience, $title, $content, $content_html;
16
17
    function __construct($title, $content, $content_html = null) {
18
      $this->show_choose_audience = true;
19
      $this->title = $title;
20
      $this->content = $content;
21
      $this->content_html = $content_html;
22
    }
23
24
    function choose_audience() {
25
      $OSCOM_Db = Registry::get('Db');