Removed the export of markdown articles. That was for testing purposes only.

This commit is contained in:
Michael Vogel 2012-02-23 07:53:45 +01:00
parent 3c6b127d40
commit 9f92bbb04c

View File

@ -14,8 +14,8 @@ require_once('include/html2bbcode.php');
function diaspora2bb($s) { function diaspora2bb($s) {
// for testing purposes: Collect raw markdown articles // for testing purposes: Collect raw markdown articles
$file = tempnam("/tmp/friendica/", "markdown"); // $file = tempnam("/tmp/friendica/", "markdown");
file_put_contents($file, $s); // file_put_contents($file, $s);
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8'); $s = html_entity_decode($s,ENT_COMPAT,'UTF-8');