Removing test exports

This commit is contained in:
Michael Vogel 2012-03-11 23:29:59 +01:00
parent 905ba5ba1d
commit 2ed6b3531e
2 changed files with 4 additions and 4 deletions

View file

@ -435,8 +435,8 @@ function delivery_run($argv, $argc){
$headers .= 'Reply-to: ' . $reply_to . "\n"; $headers .= 'Reply-to: ' . $reply_to . "\n";
// for testing purposes: Collect exported mails // for testing purposes: Collect exported mails
$file = tempnam("/tmp/friendica/", "mail-out-"); // $file = tempnam("/tmp/friendica/", "mail-out-");
file_put_contents($file, json_encode($it)); // file_put_contents($file, json_encode($it));
$headers .= 'Message-Id: <' . iri2msgid($it['uri']). '>' . "\n"; $headers .= 'Message-Id: <' . iri2msgid($it['uri']). '>' . "\n";

View file

@ -648,8 +648,8 @@ function notifier_run($argv, $argc){
$headers .= 'Reply-to: ' . $reply_to . "\n"; $headers .= 'Reply-to: ' . $reply_to . "\n";
// for testing purposes: Collect exported mails // for testing purposes: Collect exported mails
$file = tempnam("/tmp/friendica/", "mail-out2-"); //$file = tempnam("/tmp/friendica/", "mail-out2-");
file_put_contents($file, json_encode($it)); //file_put_contents($file, json_encode($it));
$headers .= 'Message-Id: <' . iri2msgid($it['uri']) . '>' . "\n"; $headers .= 'Message-Id: <' . iri2msgid($it['uri']) . '>' . "\n";