Skip to content

Commit a5f23ae

Browse files
committed
#123 not needed code
1 parent db43fa4 commit a5f23ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function initialize()
2828
$scanned_preset_themes = array_diff(scandir($plugin_folder.'/Customizer/Assets/css/themes'), array('..', '.'));
2929

3030
foreach ($scanned_temp_themes as $theme) {
31-
if($theme != '.gitignore') { unlink($plugin_folder.'/Customizer/Assets/css/userthemes/' . $theme); }
31+
unlink($plugin_folder.'/Customizer/Assets/css/userthemes/' . $theme);
3232
}
3333

3434
if (file_exists(DATA_DIR . '/files/customizer/themes')) {

0 commit comments

Comments
 (0)