The virtuel fields for the diaspora signatures have to be removed at any time

pull/5897/head
Michael 2018-10-12 18:47:32 +00:00
rodzic 735a5980bd
commit 1b18be6715
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1292,15 +1292,15 @@ class Item extends BaseObject
if (x($item, 'dsprsig')) {
$encoded_signature = $item['dsprsig'];
$dsprsig = json_decode(base64_decode($item['dsprsig']));
unset($item['dsprsig']);
}
unset($item['dsprsig']);
if (!empty($item['diaspora_signed_text'])) {
$diaspora_signed_text = $item['diaspora_signed_text'];
unset($item['diaspora_signed_text']);
} else {
$diaspora_signed_text = '';
}
unset($item['diaspora_signed_text']);
// Converting the plink
/// @TODO Check if this is really still needed