Skip to content

Commit

Permalink
Merge pull request #7993 from Sesquipedalian/remove_dev_debug_cruft
Browse files Browse the repository at this point in the history
Removes some developer debug cruft
  • Loading branch information
Sesquipedalian authored Dec 30, 2023
2 parents d83d22c + 438790a commit 4f92aa4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Sources/BBCodeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -2960,10 +2960,6 @@ function ($matches) {
$data = $tmp_data;
}
}

if (isset($_REQUEST['preview'])) {
file_put_contents('/tmp/derp.txt', 'data = ' . $data . "\n", FILE_APPEND);
}
}

return $data;
Expand Down
2 changes: 0 additions & 2 deletions Sources/Tasks/ExportProfileData.php
Original file line number Diff line number Diff line change
Expand Up @@ -1647,8 +1647,6 @@ protected function buildStylesheet(): void
$this->stylesheet = preg_replace('/^(?!\n)/mu', "\t", $this->stylesheet);
$this->stylesheet = strtr($this->stylesheet, array_flip($placeholders));
}

file_put_contents('/tmp/derp.xml', $this->stylesheet);
}

/**
Expand Down

0 comments on commit 4f92aa4

Please # to comment.