$fsuggest = false;
$relocate = false;
$top_level = false;
- $recipients = array();
- $url_recipients = array();
+ $recipients = [];
+ $url_recipients = [];
$followup = false;
$normal_mode = true;
}
$icontacts = null;
- $contacts_arr = array();
+ $contacts_arr = [];
foreach ($items as $item) {
if (!in_array($item['contact-id'],$contacts_arr)) {
$contacts_arr[] = intval($item['contact-id']);
} elseif ($relocate) {
$atom = DFRN::relocate($owner, $uid);
} elseif ($followup) {
- $msgitems = array();
+ $msgitems = [];
foreach ($items as $item) { // there is only one item
if (!$item['parent']) {
return;
}
$atom = DFRN::entries($msgitems,$owner);
} else {
- $msgitems = array();
+ $msgitems = [];
foreach ($items as $item) {
if (!$item['parent']) {
return;