Skip to content

Commit

Permalink
#123 not needed code
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros committed Mar 8, 2021
1 parent db43fa4 commit a5f23ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function initialize()
$scanned_preset_themes = array_diff(scandir($plugin_folder.'/Customizer/Assets/css/themes'), array('..', '.'));

foreach ($scanned_temp_themes as $theme) {
if($theme != '.gitignore') { unlink($plugin_folder.'/Customizer/Assets/css/userthemes/' . $theme); }
unlink($plugin_folder.'/Customizer/Assets/css/userthemes/' . $theme);
}

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

0 comments on commit a5f23ae

Please sign in to comment.