Code Duplication    Length = 11-12 lines in 2 locations

security/Member.php 2 locations

@@ 1768-1779 (lines=12) @@
1765
 * @package framework
1766
 * @subpackage security
1767
 */
1768
class Member_ChangePasswordEmail extends Email {
1769
1770
	protected $from = '';   // setting a blank from address uses the site's default administrator email
1771
	protected $subject = '';
1772
	protected $ss_template = 'ChangePasswordEmail';
1773
1774
	public function __construct() {
1775
		parent::__construct();
1776
1777
		$this->subject = _t('Member.SUBJECTPASSWORDCHANGED', "Your password has been changed", 'Email subject');
1778
	}
1779
}
1780
1781
1782
@@ 1789-1799 (lines=11) @@
1786
 * @package framework
1787
 * @subpackage security
1788
 */
1789
class Member_ForgotPasswordEmail extends Email {
1790
	protected $from = '';  // setting a blank from address uses the site's default administrator email
1791
	protected $subject = '';
1792
	protected $ss_template = 'ForgotPasswordEmail';
1793
1794
	public function __construct() {
1795
		parent::__construct();
1796
1797
		$this->subject = _t('Member.SUBJECTPASSWORDRESET', "Your password reset link", 'Email subject');
1798
	}
1799
}
1800
1801
/**
1802
 * Member Validator