Code Duplication    Length = 7-7 lines in 2 locations

htdocs/class/module.textsanitizer.php 2 locations

@@ 971-977 (lines=7) @@
968
     * @param  mixed   $xcode
969
     * @return mixed|string
970
     */
971
    public function &makeTareaData4Show(&$text, $html = 1, $smiley = 1, $xcode = 1)
972
    {
973
        $GLOBALS['xoopsLogger']->addDeprecated(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated');
974
        $text =& $this->displayTarea($text, $html, $smiley, $xcode);
975
976
        return $text;
977
    }
978
979
    /**
980
     * MyTextSanitizer::makeTareaData4Edit()
@@ 1001-1007 (lines=7) @@
998
     * @param  mixed   $xcode
999
     * @return mixed|string
1000
     */
1001
    public function &makeTareaData4Preview(&$text, $html = 1, $smiley = 1, $xcode = 1)
1002
    {
1003
        $GLOBALS['xoopsLogger']->addDeprecated(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated');
1004
        $text =& $this->previewTarea($text, $html, $smiley, $xcode);
1005
1006
        return $text;
1007
    }
1008
1009
    /**
1010
     * MyTextSanitizer::makeTareaData4PreviewInForm()