Code Duplication    Length = 7-7 lines in 3 locations

class/files/admin/AdminFooter.php 1 location

@@ 38-44 (lines=7) @@
35
    /**
36
     *
37
     */
38
    public function __construct()
39
    {
40
        parent::__construct();
41
        $this->tdmcfile = TDMCreateFile::getInstance();
42
        $this->xoopscode = TDMCreateXoopsCode::getInstance();
43
        $this->phpcode = TDMCreatePhpCode::getInstance();
44
    }
45
46
    /*
47
    *  @static function &getInstance

class/files/admin/AdminHeader.php 1 location

@@ 38-44 (lines=7) @@
35
    /**
36
     *
37
     */
38
    public function __construct()
39
    {
40
        parent::__construct();
41
        $this->tdmcfile = TDMCreateFile::getInstance();
42
        $this->xoopscode = TDMCreateXoopsCode::getInstance();
43
        $this->phpcode = TDMCreatePhpCode::getInstance();
44
    }
45
46
    /*
47
    *  @static function &getInstance

class/files/admin/AdminIndex.php 1 location

@@ 38-44 (lines=7) @@
35
    /**
36
     *
37
     */
38
    public function __construct()
39
    {
40
        parent::__construct();
41
        $this->tdmcfile = TDMCreateFile::getInstance();
42
        $this->xoopscode = TDMCreateXoopsCode::getInstance();
43
        $this->phpcode = TDMCreatePhpCode::getInstance();
44
    }
45
46
    /*
47
    *  @static function &getInstance