remove wrong file_put_contents

This commit is contained in:
2021-06-05 12:56:14 +02:00
parent e6031ebf6f
commit 2bb109b77c

View File

@@ -104,8 +104,6 @@ class PgnParser
$content = "\n\n" . $pgn;
$games = preg_split("/\n\n\[/s", $content, -1, PREG_SPLIT_DELIM_CAPTURE);
file_put_contents("parsed.pgn", $content);
for ($i = 1, $count = count($games); $i < $count; $i++) {
$gameContent = trim("[" . $games[$i]);
if (strlen($gameContent) > 10) {