Code Duplication    Length = 7-7 lines in 2 locations

htdocs/class/module.textsanitizer.php 2 locations

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