Skip to content

Commit ba2c652

Browse files
authored
remove blank file generator
1 parent d23768b commit ba2c652

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

app/admin/class-product-machine.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,6 @@ static function make_zip_download( $filename, $origin_dir, $tmp_dir, $data, $con
117117
}
118118
}
119119

120-
121-
122-
// only run these operations for standard plugins
123-
// add empties to key directories
124-
$blank_file = '<?php ' . PHP_EOL . '// *gentle wave* not the code you\'re looking for..' . PHP_EOL;
125-
$idx = '/index.php';
126-
$zip->addFromString( 'app' . $idx, $blank_file );
127-
$zip->addFromString( 'app/admin' . $idx, $blank_file );
128-
129120
// close zip
130121
$zip->close();
131122

0 commit comments

Comments
 (0)