Code Duplication    Length = 6-6 lines in 2 locations

include/oninstall.php 1 location

@@ 86-91 (lines=6) @@
83
    }
84
85
    //  ---  CREATE FOLDERS ---------------
86
    if (count($configurator->uploadFolders) > 0) {
87
        //    foreach (array_keys($GLOBALS['uploadFolders']) as $i) {
88
        foreach (array_keys($configurator->uploadFolders) as $i) {
89
            $classUtility::createFolder($configurator->uploadFolders[$i]);
90
        }
91
    }
92
93
    //  ---  COPY blank.png FILES ---------------
94
    if (count($configurator->blankFiles) > 0) {

include/onupdate.php 1 location

@@ 143-148 (lines=6) @@
140
        }
141
142
        //  ---  CREATE FOLDERS ---------------
143
        if (count($configurator->uploadFolders) > 0) {
144
            //    foreach (array_keys($GLOBALS['uploadFolders']) as $i) {
145
            foreach (array_keys($configurator->uploadFolders) as $i) {
146
                $classUtility::createFolder($configurator->uploadFolders[$i]);
147
            }
148
        }
149
150
        //  ---  COPY blank.png FILES ---------------
151
        if (count($configurator->blankFiles) > 0) {