Just another commit message :-)

This commit is contained in:
Michael Vogel
2016-03-01 19:10:35 +01:00
committed by Roland Haeder
parent 558f13e322
commit c88fd73b80
2 changed files with 8 additions and 6 deletions

View File

@@ -146,9 +146,9 @@ function diaspora_dispatch($importer,$msg,$attempt=1) {
$ret = diaspora_participation($importer,$xmlbase->participation);
}
elseif($xmlbase->poll_participation) {
$tempfile = tempnam(get_temppath(), "diaspora-poll_participation");
file_put_contents($tempfile, json_encode($data));
$ret = diaspora_participation($importer,$xmlbase->participation);
//$tempfile = tempnam(get_temppath(), "diaspora-poll_participation");
//file_put_contents($tempfile, json_encode($data));
$ret = diaspora_participation($importer,$xmlbase->poll_participation);
}
else {
$tempfile = tempnam(get_temppath(), "diaspora-unknown");