Code Duplication    Length = 8-8 lines in 2 locations

lib/private/Mail/EMailTemplate.php 2 locations

@@ 623-630 (lines=8) @@
620
	 *
621
	 * @return string
622
	 */
623
	public function renderHtml() {
624
		if (!$this->footerAdded) {
625
			$this->footerAdded = true;
626
			$this->ensureBodyIsClosed();
627
			$this->htmlBody .= $this->tail;
628
		}
629
		return $this->htmlBody;
630
	}
631
632
	/**
633
	 * Returns the rendered plain text email as string
@@ 637-644 (lines=8) @@
634
	 *
635
	 * @return string
636
	 */
637
	public function renderText() {
638
		if (!$this->footerAdded) {
639
			$this->footerAdded = true;
640
			$this->ensureBodyIsClosed();
641
			$this->htmlBody .= $this->tail;
642
		}
643
		return $this->plainBody;
644
	}
645
}
646