Code Duplication    Length = 7-8 lines in 2 locations

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/AdminPages.php 1 location

@@ 47-54 (lines=8) @@
44
    /**
45
     *
46
     */
47
    public function __construct()
48
    {
49
        parent::__construct();
50
        $this->tdmcfile = TDMCreateFile::getInstance();
51
        $this->phpcode = TDMCreatePhpCode::getInstance();
52
		$this->xoopscode = TDMCreateXoopsCode::getInstance();
53
        $this->adminxoopscode = AdminXoopsCode::getInstance();
54
    }
55
56
    /*
57
    *  @static function &getInstance