<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
const ACTIVITYPUB = 1;
const DFRN = 2;
- const LEGACY_DFRN = 3;
+ const LEGACY_DFRN = 3; // @deprecated since version 2021.09
const DIASPORA = 4;
const OSTATUS = 5;
const MAIL = 6;
$fields['uri-id'] = $uri_id;
- return DBA::insert('post-delivery-data', $fields);
+ return DBA::replace('post-delivery-data', $fields);
}
/**